Skip to content

Commit

Permalink
Fix package.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthurmeade12 committed Dec 16, 2023
1 parent f2c7be8 commit deb3941
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ TARGET="${TARGET:=.}"
JARNAME='declension.jar'
MAINCLASS='me.arthurmeade12.decliner.declension'
COMPILEPATH='me/arthurmeade12/decliner'
COMPDECL=false
javac -d "${TARGET}" "${TARGET}"/*.java
#javac -d "${TARGET}" "${TARGET}"/**/*.java
if [[ "${COMPDECL}" == 'true' ]]
then
javac -d "${TARGET}" "${TARGET}"/**/*.java
fi
jar -c -f "${TARGET}/${JARNAME}" -e "${MAINCLASS}" "${TARGET}/${COMPILEPATH}"

0 comments on commit deb3941

Please sign in to comment.