11 lines
635 B
Bash
11 lines
635 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
JAVA_HOME=/home/nathanmcrae/Downloads/jdk-23.0.2/
|
||
|
PATH=$JAVA_HOME/bin:$PATH
|
||
|
PATH_TO_FX=/home/nathanmcrae/Downloads/javafx-sdk-23.0.2/lib/
|
||
|
MODULE_PATH=$PATH_TO_FX:$(dirname "$0")/lib
|
||
|
MODULES=com.ctc.wstx,com.fasterxml.jackson.annotation,com.fasterxml.jackson.core,com.fasterxml.jackson.dataformat.xml,com.fasterxml.jackson.datatype.jsr310,com.jcraft.jsch,javafx.controls,javafx.fxml,org.apache.commons.cli,result,wordpress.xmlrpc.client
|
||
|
|
||
|
javac --module-path $MODULE_PATH --add-modules $MODULES src/main/java/name/nathanmcrae/numbersstation/*.java -d out
|
||
|
cp -r src/main/resources/* out/name/nathanmcrae/numbersstation
|