Commit 4c4e2aac authored by Chris Coughlin's avatar Chris Coughlin

Added installation script

parent 19aa5133
# install - installs the Myriad data reduction framework
# Check if JAVA_HOME is set for maven
if [ -n "$JAVA_HOME" ];
# Check for maven
command -v mvn >/dev/null 2>&1 || { echo >&2 "mvn not found; please add to PATH"; exit 1; }
# Run installdeps for third-party libraries that aren't packaged as Maven projects
cd libs
cd ..
mvn -DskipTests=true clean package
echo "Maven requires the enviroment variable JAVA_HOME to be set"
echo "e.g. export JAVA_HOME=/home/username/jdk"
exit 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment