Skip to content

Instantly share code, notes, and snippets.

@bartenbach
Created January 31, 2012 23:34
Show Gist options
  • Save bartenbach/1713816 to your computer and use it in GitHub Desktop.
Save bartenbach/1713816 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Blake's super awesome jar signing script for *nix
if [ -f ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar ]
then
echo "Jar found"
if [ -f ~/Documents/TPCGames ]
then
echo "Keystore found"
echo "Signing jar..."
jarsigner -keystore ~/Documents/TPCGames ~/NetBeansProjects/tpcspades/dist/TPCSpades.jar TPCGames
echo "Jar signed."
fi
else
echo "Jar not found"
exit 0
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment