Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
-
Property svn:executable set to
*
|
File size:
888 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # Build script for dojox.mobile |
---|
4 | |
---|
5 | if [ $# -eq 0 ]; then |
---|
6 | echo 'Usage: build separate|single [webkit]' |
---|
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 | echo ' webkit Enable webkitMobile=true option (Loses PC browser support)' |
---|
10 | exit 1 |
---|
11 | fi |
---|
12 | |
---|
13 | #optimize=shrinksafe |
---|
14 | optimize=closure |
---|
15 | profile=mobile |
---|
16 | dir=release-mobile-separate |
---|
17 | webkit= |
---|
18 | #standalone=standaloneScrollable=true |
---|
19 | if [ "$1" == "single" ]; then |
---|
20 | profile=mobile-all |
---|
21 | fi |
---|
22 | if [ "$1" == "single" ]; then |
---|
23 | dir=release-mobile-single |
---|
24 | fi |
---|
25 | shift 1 |
---|
26 | if [ "$1" == "webkit" ]; then |
---|
27 | webkit=webkitMobile=true |
---|
28 | shift 1 |
---|
29 | fi |
---|
30 | |
---|
31 | cd ../../../util/buildscripts |
---|
32 | |
---|
33 | ./build.sh profile=$profile action=release optimize=$optimize layerOptimize=$optimize cssOptimize=comments releaseDir=../../$dir/ $webkit $standalone $* |
---|
34 | |
---|
35 | cd ../../dojox/mobile/build |
---|
Note: See
TracBrowser
for help on using the repository browser.