Debian Codegraph @

util/shrinksafe/build.sh

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 #!/bin/sh
2 RHINO=../js.jar
3 TEST=$1
4
5 # create shrinksafe.jar from src/
6 rm -rf bin
7 mkdir bin
8 cd src
9 javac -classpath $RHINO:. -d ../bin org/dojotoolkit/shrinksafe/Main.java
10 mkdir ../bin/org/dojotoolkit/shrinksafe/resources
11 cp org/dojotoolkit/shrinksafe/resources/Messages.properties ../bin/org/dojotoolkit/shrinksafe/resources/Messages.properties
12 cd ../bin
13 jar cfm ../shrinksafe.jar ../src/manifest *
14 cd ..
15 rm -rf bin
16
17 # call build.sh test to run the unit tests immediately
•18 #if [ "$TEST" == "test" ]; then
19 # echo "Running tests."
20 # cd tests
21 # ./runner.sh #| grep errors -1
22 #fi
23