uberpong/dev/tools/bake.bat

23 lines
463 B
Batchfile
Raw Permalink Normal View History

@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
cd ../
:: Bake!
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 tools/bake.php %IMPACT_LIBRARY% %GAME% %OUTPUT_FILE%
pause