[build/simulator/web] Add a htmlpack target

This commit is contained in:
Romain Goyet
2021-02-23 21:45:28 -05:00
committed by Léa Saviot
parent 36a40faaaf
commit e8956f4293
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,2 @@
TOOLCHAIN = emscripten
EXE = js
HANDY_TARGETS_EXTENSIONS += zip

View File

@@ -1 +1,6 @@
$(BUILD_DIR)/test.js: EMSCRIPTEN_MODULARIZE = 0
HANDY_TARGETS += htmlpack
HANDY_TARGETS_EXTENSIONS += zip
$(BUILD_DIR)/htmlpack.zip: $(addprefix $(BUILD_DIR)/ion/src/simulator/web/,calculator.html calculator.css) $(BUILD_DIR)/epsilon.js ion/src/simulator/web/simulator-setup.js