-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.cmd
31 lines (28 loc) · 1.18 KB
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
:: ----------------------------------------------------------------------------
:: File: build.cmd
::
:: Desc: Voodoo project build script.
::
:: Usage: build [op]
:: op Op must be one of the following values:
:: all - Compiles source and docs, tests, and drops.
:: Equivalent to source|docs|test|drop.
:: clean - Deletes all builds and documentation
:: debug - Create internal debug build.
:: docs - Builds user and dev docs.
:: drop - Creates zip drop for project.
:: min - Create minified released build.
:: min.debug - Create minified release debug build.
:: source - Compiles source for all builds.
:: Equivalent to debug|min|min.debug.
:: test - Runs tests
:: testdebug - Runs tests on the debug build.
::
:: Copyright (c) 2014 VoodooJs Authors
:: ----------------------------------------------------------------------------
@echo off
:: Default op
set op=%~1
if "%op%"=="" set op=all
:: Build
call "%~dp0voodoo\build" "%op%"