selektor/build-jar

19 lines
501 B
Plaintext
Raw Normal View History

2022-11-02 08:12:45 +00:00
#!/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 .