Co-authored-by: sigonasr2 <sigonasr2@gmail.com>main
parent
86ed481413
commit
4a41f7a89b
@ -1,10 +1,9 @@ |
|||||||
#Builds and runs the project. |
#Builds and runs the project. |
||||||
#Java |
#Java |
||||||
source ${LANGUAGE}/scripts/version_info |
source ${LANGUAGE}/scripts/version_info |
||||||
rm -Rf out/* |
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/*.java |
||||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java |
|
||||||
printf "\n\n\nRunning Program...\n\n" |
printf "\n\n\nRunning Program...\n\n" |
||||||
ORIGINAL_LOC=$(pwd) |
ORIGINAL_LOC=$(pwd) |
||||||
cd $OUT_DIR |
cd $OUT_DIR |
||||||
java -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@" |
java -cp .:../lib/bin -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@" |
||||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh |
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh |
@ -1,4 +1,4 @@ |
|||||||
#Cleans up and removes unused files. |
#Cleans up and removes unused files. |
||||||
#Java |
#Java |
||||||
find . -type f -name *.class -delete |
find -type f -name *.class -delete |
||||||
find . -type f -name manifest -delete |
find -type f -name manifest -delete |
@ -1,5 +1,5 @@ |
|||||||
build.sh:947a32eaed85aa23e589b1c70523a00b - |
build.sh:22308eae5fd9c88aa16fef54cf03ae21 - |
||||||
clean.sh:96ce35f2d2dcb555421e00a6afda23ca - |
clean.sh:668a2f9b568c55f6a044a509315032f6 - |
||||||
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - |
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - |
||||||
jar.sh:56f9b7c6dc8e85f28ffefe9ce82b1f07 - |
jar.sh:99c7520b5eb08be888ce3c91784e5462 - |
||||||
update.sh:3be721658983183efa395984acd96b03 - |
update.sh:3be721658983183efa395984acd96b03 - |
||||||
|
@ -1,2 +1,2 @@ |
|||||||
export SOURCE_VERSION="1.11" |
export SOURCE_VERSION="8" |
||||||
export TARGET_VERSION="1.8" |
export TARGET_VERSION="8" |
Loading…
Reference in new issue