source: Dev/branches/rest-dojo-ui/client/dojox/mobile/build/build.bat @ 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: 963 bytes
Line 
1@echo off
2
3rem Build script for dojox.mobile
4
5if "%1"=="separate" goto ok
6if "%1"=="single" goto ok
7echo Usage: build separate^|single [webkit]
8echo   separate  Create mobile.js that includes only dojox.mobile
9echo   single    Create a single dojo.js layer that includes dojox.mobile
10echo   webkit    Enable webkitMobile=true option (Loses PC browser support)
11goto end
12:ok
13
14rem set optimize=shrinksafe
15set optimize=closure
16set profile=mobile
17set dir=release-mobile-separate
18set webkit=
19rem set standalone=standaloneScrollable=true
20if "%~1"=="single" set profile=mobile-all
21if "%~1"=="single" set dir=release-mobile-single
22shift
23if not "%~1"=="webkit" goto skip1
24set webkit=webkitMobile=true
25shift
26:skip1
27
28cd ..\..\..\util\buildscripts
29
30call build profile=%profile% action=release optimize=%optimize% layerOptimize=%optimize% cssOptimize=comments releaseDir=../../%dir%/ %webkit% %standalone% %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9
31
32cd ..\..\dojox\mobile\build
33
34:end
Note: See TracBrowser for help on using the repository browser.