Added build script for build java part on-device
This commit is contained in:
1 parent
719b96829d
commit
1df617d042
1 file changed
+20
@@ -0,0 +1,20 @@
|
||||
# This one is only used for local compile on developer iphone, do not execute if
|
||||
# - You don't know what will it does.
|
||||
# - No OpenJDK installed.
|
||||
|
||||
/bin/bash <<'EOF'
|
||||
|
||||
set -e
|
||||
shopt -s globstar
|
||||
|
||||
mkdir -p local_out/classes
|
||||
javac -cp "libs/*" -d local_out/classes src/main/java/**/*.java
|
||||
|
||||
cd local_out/classes
|
||||
jar -c -f ../launcher.jar *
|
||||
|
||||
cp ../launcher.jar /Applications/PojavLauncher.app/libs/launcher.jar
|
||||
|
||||
echo "BUILD SUCCESSFUL"
|
||||
|
||||
EOF
|
||||
Reference in new issue
Block a user