Add mandatory wasm file to zip file as well
authorMiodrag Milanovic <mmicko@gmail.com>
Thu, 12 Mar 2020 10:17:15 +0000 (11:17 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Thu, 12 Mar 2020 10:17:15 +0000 (11:17 +0100)
.gitignore
Makefile

index 76f53cd06afcfe4122597371b5e51c60f4769754..0460c7c13394106fda107495ac1e3449e073308c 100644 (file)
@@ -21,6 +21,7 @@ __pycache__
 /yosys
 /yosys.exe
 /yosys.js
+/yosys.wasm
 /yosys-abc
 /yosys-abc.exe
 /yosys-config
index 0eb42e0d6f14191d731a6035186fa440399bddb7..a911e610350159fdd16d5e5af4aa60065097e22c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -257,10 +257,10 @@ viz.js:
        wget -O viz.js.part https://github.com/mdaines/viz.js/releases/download/0.0.3/viz.js
        mv viz.js.part viz.js
 
-yosysjs-$(YOSYS_VER).zip: yosys.js viz.js misc/yosysjs/*
+yosysjs-$(YOSYS_VER).zip: yosys.js yosys.wasm viz.js misc/yosysjs/*
        rm -rf yosysjs-$(YOSYS_VER) yosysjs-$(YOSYS_VER).zip
        mkdir -p yosysjs-$(YOSYS_VER)
-       cp viz.js misc/yosysjs/* yosys.js yosysjs-$(YOSYS_VER)/
+       cp viz.js misc/yosysjs/* yosys.js yosys.wasm yosysjs-$(YOSYS_VER)/
        zip -r yosysjs-$(YOSYS_VER).zip yosysjs-$(YOSYS_VER)
 
 yosys.html: misc/yosys.html