source: Dev/branches/rest-dojo-ui/client/dojox/mobile/build/build.sh @ 256

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
5if [ $# -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
11fi
12
13#optimize=shrinksafe
14optimize=closure
15profile=mobile
16dir=release-mobile-separate
17webkit=
18#standalone=standaloneScrollable=true
19if [ "$1" == "single" ]; then
20  profile=mobile-all
21fi
22if [ "$1" == "single" ]; then
23  dir=release-mobile-single
24fi
25shift 1
26if [ "$1" == "webkit" ]; then
27  webkit=webkitMobile=true
28  shift 1
29fi
30
31cd ../../../util/buildscripts
32
33./build.sh profile=$profile action=release optimize=$optimize layerOptimize=$optimize cssOptimize=comments releaseDir=../../$dir/ $webkit $standalone $*
34
35cd ../../dojox/mobile/build
Note: See TracBrowser for help on using the repository browser.