parent
9fcd0384ab
commit
ff1761f5c8
@ -1,9 +1,9 @@ |
|||||||
#Builds and runs the project. |
#Builds and runs the project. |
||||||
#Java |
#Java |
||||||
rm -Rf out/* |
source ${LANGUAGE}/scripts/version_info |
||||||
javac -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java |
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -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 ${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 |
@ -0,0 +1,14 @@ |
|||||||
|
#Creates a zip file containing all project contents. |
||||||
|
#Java |
||||||
|
source ${LANGUAGE}/scripts/version_info |
||||||
|
TARGET_FILE="${PROJECT_NAME}_${RELEASE_VERSION}.zip" |
||||||
|
FILES=$(cat ${LANGUAGE}/scripts/.package.files) |
||||||
|
echo "Creating Package $TARGET_FILE..." |
||||||
|
for f in $FILES |
||||||
|
do |
||||||
|
zip -ur $TARGET_FILE $f |
||||||
|
done |
||||||
|
echo "Complete!" |
||||||
|
echo "" |
||||||
|
echo "" |
||||||
|
echo "" |
@ -0,0 +1,3 @@ |
|||||||
|
#Pulls the latest version of the repository. |
||||||
|
#Java |
||||||
|
git pull |
Loading…
Reference in new issue