Skip to content

Instantly share code, notes, and snippets.

@bogovicj
Created September 18, 2020 15:18
Show Gist options
  • Save bogovicj/9239c71ee5c9bcb21017a6260076bd14 to your computer and use it in GitHub Desktop.
Save bogovicj/9239c71ee5c9bcb21017a6260076bd14 to your computer and use it in GitHub Desktop.
Installs in-progress n5 plugins into an existing fiji installation
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Give the path to a fiji folders as an argument"
exit 1
fi
fijidir="$1"
mkdir -p tmpbuilddir
cd tmpbuilddir
git clone -b n5-viewer-merge https://github.com/bogovicj/n5-ij.git
cd n5-ij
mvn -Dscijava.app.directory="$fijidir" -Ddelete.other.versions=true clean install
cd ..
git clone -b n5-ij-merge https://github.com/bogovicj/n5-viewer.git
cd n5-viewer
mvn -Dscijava.app.directory="$fijidir" -Ddelete.other.versions=true clean install
cd ../..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment