Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
[cleanup] Remove dead code in buildJarSafe.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Dominika <[email protected]>
  • Loading branch information
5HT2 committed Jan 5, 2021
1 parent 9f3252d commit e108da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/buildJarSafe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ mv "$__named" "$__bad_named" # rename it to include release
# Build release jar with the name without -release
export JAVA_HOME="$JDK_11_HOME"
sudo archlinux-java set java-11-openjdk || exit $?
java -jar "$__d/jar-shrink/jar-shrink.jar" "$__bad_named" -out "$__named" -n -keep "me.zeroeightsix" -keep "baritone" -keep "baritone.cache" -keep "org.kamiblue" -keep "org.spongepowered"
java -jar "$__d/jar-shrink/jar-shrink.jar" "$__bad_named" -out "$__named" -n -keep "me.zeroeightsix" -keep "baritone" -keep -keep "org.kamiblue" -keep "org.spongepowered"

rm "$__bad_named" # remove the un-shrunk jar with -release

Expand Down

0 comments on commit e108da5

Please sign in to comment.