emscripten windows build scripts
parent
391106417b
commit
4fd2856a25
|
@ -0,0 +1,14 @@
|
|||
@echo off
|
||||
|
||||
rem build web first
|
||||
call web.bat
|
||||
|
||||
if not %ERRORLEVEL% == 0 exit /B 1
|
||||
@rd /S /Q pkg
|
||||
mkdir pkg
|
||||
copy ..\build_web\eco2d.* pkg
|
||||
copy ..\build_web\index.html pkg
|
||||
|
||||
IF NOT "%1"=="SKIP_DEPLOY" (
|
||||
butler push pkg zaklaus/eco2d:html-latest
|
||||
)
|
|
@ -1,3 +1,6 @@
|
|||
rem set up VS (to get ninja generator)
|
||||
call setup_cl_generic.bat amd64
|
||||
|
||||
rem clone emscripten sdk
|
||||
if not exist "..\emsdk" (
|
||||
git clone https://github.com/emscripten-core/emsdk ..\emsdk
|
||||
|
|
Loading…
Reference in New Issue