-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_test_cli.sh
executable file
·26 lines (20 loc) · 1013 Bytes
/
build_test_cli.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
rm -rf src/main/java/lang/*.class
rm -rf src/main/java/lang/modules/*.class
rm -rf src/main/java/lang/ui/*.class
# cp all jar files
javac -cp ".:lib/gson-2.10.2-SNAPSHOT.jar:lib/fontbox-3.0.0.jar:lib/pdfbox-app-3.0.0.jar:lib/junit-4.13.2.jar:lib/kuberentes-0.1.0-jar-with-dependencies.jar" \
-d bin \
src/main/java/lang/*.java \
src/main/java/lang/packages/utils/*.java \
src/main/java/lang/packages/mas/*.java \
src/main/java/lang/packages/report/*.java \
src/main/java/lang/packages/mxtest/*.java \
src/main/java/lang/modules/*.java \
src/main/java/lang/ui/*.java
cp ./fonts/* bin/lang/packages/report
# copy over all mx modules developed locally into final binary folder.
# mkdir bin/mxmodules/ 2> /dev/null
# cp -r devmodules/* bin/mxmodules
java -cp "bin:lib/gson-2.10.2-SNAPSHOT.jar:lib/pdfbox-app-3.0.0.jar:lib/fontbox-3.0.0.jar:lib/junit-platform-console-standalone-1.9.3.jar:lib/kuberentes-0.1.0-jar-with-dependencies.jar" lang.Lang test.mx
# ./clean.sh