#!/bin/sh
#Create our build folder
mkdir build
#Java compilation
javac -nowarn -d build -sourcepath src src/SelekTOR.java
# Build runtime jar
jar -cfe build/SelekTOR.jar SelekTOR -C build . -C src resources
#Do proguard code optimisation
proguard -forceprocessing -include SelekTOR.pro -injars build/SelekTOR.jar -outjars SelekTOR.jar
# Cleanup
rm build -rf
