21 lines
457 B
Batchfile
21 lines
457 B
Batchfile
|
@echo off
|
||
|
|
||
|
:: Path to impact.js and your game's main .js
|
||
|
SET IMPACT_LIBRARY=lib/impact/impact.js
|
||
|
SET GAME=lib/game/main.js
|
||
|
|
||
|
:: Output file
|
||
|
SET OUTPUT_FILE=game.min.js
|
||
|
|
||
|
|
||
|
:: Change CWD to Impact's base dir and bake!
|
||
|
cd ../
|
||
|
php tools/bake.php %IMPACT_LIBRARY% %GAME% %OUTPUT_FILE%
|
||
|
|
||
|
|
||
|
:: If you dont have the php.exe in your PATH uncomment the
|
||
|
:: following line and point it to your php.exe
|
||
|
|
||
|
::c:/php/php.exe bake.php %IMPACT_LIBRARY% %GAME% %OUTPUT_FILE%
|
||
|
|
||
|
pause
|