19 lines
501 B
Plaintext
19 lines
501 B
Plaintext
|
#!/bin/sh
|
||
|
# -*- mode: sh; tab-width: 8; encoding: utf-8-unix -*-
|
||
|
|
||
|
#Create our build folder
|
||
|
|
||
|
ROLE=privacy
|
||
|
|
||
|
#Create our build folder
|
||
|
[ -d build ] || 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
|
||
|
cp -p build/SelekTOR.jar .
|