fix proguard path

This commit is contained in:
Leijurv 2018-09-26 10:12:23 -07:00
parent d5d1d65bf3
commit a125170840
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -17,7 +17,7 @@ cat api.pro | grep -v "\-keep class baritone.api" > standalone.pro # standalone
#instead of downloading these jars from my dropbox in a zip, just assume gradle's already got them for us #instead of downloading these jars from my dropbox in a zip, just assume gradle's already got them for us
mkdir -p tempLibraries mkdir -p tempLibraries
cat proguard.pro | grep tempLibraries | grep .jar | cut -d "/" -f 2- | cut -d "'" -f -1 | xargs -n1 -I{} bash -c "find ~/.gradle -name {}" | tee /dev/stderr | xargs -n1 -I{} cp {} tempLibraries cat ../../scripts/proguard.pro | grep tempLibraries | grep .jar | cut -d "/" -f 2- | cut -d "'" -f -1 | xargs -n1 -I{} bash -c "find ~/.gradle -name {}" | tee /dev/stderr | xargs -n1 -I{} cp {} tempLibraries
mkdir ../../dist mkdir ../../dist
java -jar ../../proguard6.0.3/lib/proguard.jar @api.pro java -jar ../../proguard6.0.3/lib/proguard.jar @api.pro