Debian Codegraph @

dojox/mobile/build/build.sh

raw symbols SCIP
1 #!/bin/sh
2
3 # Build script for dojox.mobile
4
5 if [ $# -eq 0 ]; then
6 echo 'Usage: build separate|single'
7 echo ' separate Create mobile.js that includes only dojox.mobile'
8 echo ' single Create a single dojo.js layer that includes dojox.mobile'
9 exit 1
10 fi
11
12 #optimize=shrinksafe
13 optimize=closure
14 profile=mobile
15 dir=release-mobile-separate
16 #standalone=standaloneScrollable=true
17 if [ "$1" == "single" ]; then
18 profile=mobile-all
19 fi
20 if [ "$1" == "single" ]; then
21 dir=release-mobile-single
22 fi
23 shift 1
24
25 cd ../../../util/buildscripts
26
27 ./build.sh profile=$profile action=release optimize=$optimize layerOptimize=$optimize cssOptimize=comments releaseDir=../../$dir/ $standalone $*
28
29 cd ../../dojox/mobile/build