You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
713 B
29 lines
713 B
#!/bin/sh |
|
|
|
# Build script for dojox.mobile |
|
|
|
if [ $# -eq 0 ]; then |
|
echo 'Usage: build separate|single' |
|
echo ' separate Create mobile.js that includes only dojox.mobile' |
|
echo ' single Create a single dojo.js layer that includes dojox.mobile' |
|
exit 1 |
|
fi |
|
|
|
#optimize=shrinksafe |
|
optimize=closure |
|
profile=mobile |
|
dir=release-mobile-separate |
|
#standalone=standaloneScrollable=true |
|
if [ "$1" == "single" ]; then |
|
profile=mobile-all |
|
fi |
|
if [ "$1" == "single" ]; then |
|
dir=release-mobile-single |
|
fi |
|
shift 1 |
|
|
|
cd ../../../util/buildscripts |
|
|
|
./build.sh profile=$profile action=release optimize=$optimize layerOptimize=$optimize cssOptimize=comments releaseDir=../../$dir/ $standalone $* |
|
|
|
cd ../../dojox/mobile/build
|
|
|