8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
13 lines
373 B
Bash
Executable file
13 lines
373 B
Bash
Executable file
#!/bin/sh
|
|
RHINO=../js.jar
|
|
|
|
rm -rf bin
|
|
mkdir bin
|
|
cd src
|
|
javac -classpath $RHINO:. -d ../bin org/dojotoolkit/shrinksafe/Main.java
|
|
mkdir ../bin/org/dojotoolkit/shrinksafe/resources
|
|
cp org/dojotoolkit/shrinksafe/resources/Messages.properties ../bin/org/dojotoolkit/shrinksafe/resources/Messages.properties
|
|
cd ../bin
|
|
jar cfm ../shrinksafe.jar ../src/manifest *
|
|
cd ..
|
|
rm -rf bin
|