emscripten windows build scripts

efd/v1
Dominik Madarász 2023-01-23 01:12:17 +01:00
parent 391106417b
commit 4fd2856a25
2 changed files with 17 additions and 0 deletions

View File

@ -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
)

View File

@ -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