Debian Codegraph @

dojox/mobile/build/build.bat

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