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
8echo   separate  Create mobile.js that includes only dojox.mobile
9echo   single    Create a single dojo.js layer that includes dojox.mobile
10goto end
11:ok
12
13rem set optimize=shrinksafe
14set optimize=closure
15set profile=mobile
16set dir=release-mobile-separate
17rem set standalone=standaloneScrollable=true
18if "%~1"=="single" set profile=mobile-all
19if "%~1"=="single" set dir=release-mobile-single
20shift
21
22cd ..\..\..\util\buildscripts
23
24call build profile=%profile% action=release optimize=%optimize% layerOptimize=%optimize% cssOptimize=comments releaseDir=../../%dir%/ %standalone% %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9
25
26cd ..\..\dojox\mobile\build
27
28:end
29