aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-03-12 11:17:15 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2020-03-12 11:17:15 +0100
commit82ad422b4ec3a54587ec4ec8d9fa3aad3a712810 (patch)
treef32b80a1c892087080b87599ee29f04468a29dd3
parentd38098e5fa4ba6b27a67c0069f9134c6cbdbb68b (diff)
downloadyosys-82ad422b4ec3a54587ec4ec8d9fa3aad3a712810.tar.gz
yosys-82ad422b4ec3a54587ec4ec8d9fa3aad3a712810.tar.bz2
yosys-82ad422b4ec3a54587ec4ec8d9fa3aad3a712810.zip
Add mandatory wasm file to zip file as well
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 76f53cd06..0460c7c13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ __pycache__
/yosys
/yosys.exe
/yosys.js
+/yosys.wasm
/yosys-abc
/yosys-abc.exe
/yosys-config
diff --git a/Makefile b/Makefile
index 0eb42e0d6..a911e6103 100644
--- 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