3 # This script installs JavaInspect into /opt/javainspect/ directory.
4 # It also enables javainspect command at the commandline.
8 # go to project root directory
11 # remove old installation (if any)
12 sudo rm -rf /opt/javainspect/
17 # create installation directory
18 sudo mkdir -p /opt/javainspect/
20 # copy javainspect jar file to opt installation directory
21 sudo cp target/javainspect.jar /opt/javainspect/
24 # deploy launcher script to /usr/local/bin/javainspect
25 sudo cp javainspect /usr/local/bin/