aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/.gitignore2
-rw-r--r--html/Makefile6
-rw-r--r--html/tools.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/html/.gitignore b/html/.gitignore
index 14fe915b..626eeb21 100644
--- a/html/.gitignore
+++ b/html/.gitignore
@@ -1 +1 @@
-wasm_exec.js
+js/wasm_exec.js
diff --git a/html/Makefile b/html/Makefile
index 108a7fc6..40581aea 100644
--- a/html/Makefile
+++ b/html/Makefile
@@ -65,7 +65,7 @@ CARDS_YAML := $(foreach dir,$(SETS_SOURCEDIRS),$(wildcard $(dir)/*.yml))
MAKEFILE_LIST := Makefile
-FILES_TO_COPY := wasm_exec.js hover-placeholder.png tools.html wasm.html $(subst $(HTML_ROOT),,$(wildcard $(HTML_ROOT)js/*))
+FILES_TO_COPY := hover-placeholder.png tools.html wasm.html $(subst $(HTML_ROOT),,$(wildcard $(HTML_ROOT)js/*))
FILES_TO_COPY_TARGETS := $(addprefix $(BUILDDIR)/,$(FILES_TO_COPY))
.PHONY: all clean maps misc
@@ -73,9 +73,9 @@ all: $(HTML) $(RULES_HTML) maps misc $(BLOG_POSTS_HTML)
misc: $(BUILDDIR)/latex-build $(BUILDDIR)/cards-data $(FILES_TO_COPY_TARGETS) \
$(BUILDDIR)/webtools.wasm $(BUILDDIR)/boss/ai-companion.wasm \
- $(BUILDDIR)/feed.rss
+ $(BUILDDIR)/feed.rss js/wasm_exec.js
-wasm_exec.js: $(shell go env GOROOT)/lib/wasm/wasm_exec.js
+js/wasm_exec.js: $(shell go env GOROOT)/lib/wasm/wasm_exec.js
cp $< $@
$(BUILDDIR)/%.wasm:
diff --git a/html/tools.html b/html/tools.html
index caca608e..92657748 100644
--- a/html/tools.html
+++ b/html/tools.html
@@ -68,7 +68,7 @@ body {
}
</style>
- <script src="wasm_exec.js"></script>
+ <script src="js/wasm_exec.js"></script>
<script>
const go = new Go();