8 IF "%DEPLOY_DIR%" == "" (
11 IF "%BUILD_OPTION%" == "" (
12 :: Empty second arg, build sdk/all
13 ..\..\jsbuilder\JSBuilder.bat --projectFile %CD%\sdk.jsb3 --deployDir %DEPLOY_DIR% --verbose"
14 ..\..\jsbuilder\JSBuilder.bat --projectFile %DEPLOY_DIR%\ext-all.jsb3 --deployDir %DEPLOY_DIR% --verbose"
16 IF "%BUILD_OPTION%" == "sdk" (
18 ..\..\jsbuilder\JSBuilder.bat --projectFile %CD%\sdk.jsb3 --deployDir %DEPLOY_DIR% --verbose"
19 ) ELSE IF "%BUILD_OPTION%" == "ext-all" (
20 ..\..\jsbuilder\JSBuilder.bat --projectFile %DEPLOY_DIR%\ext-all.jsb3 --deployDir %DEPLOY_DIR% --verbose"
21 ) ELSE IF "%BUILD_OPTION%" == "sass" (
22 compass compile resources/sass -f
31 echo Usage: build.bat DEPLOY_DIR [TYPE]
33 echo The type option can be one of the following:
34 echo sdk - Build the whole Ext SDK
35 echo ext-all - Build just the files required for Ext to run
36 echo sass - Build css files. Assumes compass is installed