aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-06-09 23:32:57 -0500
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:19 +0200
commitf44d47f0b0a1a2ff8a1420490e877be813cb2ce6 (patch)
tree353a9fd81257291782914dd5f96b580bd38ceb3b /html
parent0a4824829f491e26bbd537770af68eba3355d000 (diff)
downloadmuhqs-game-f44d47f0b0a1a2ff8a1420490e877be813cb2ce6.tar.gz
muhqs-game-f44d47f0b0a1a2ff8a1420490e877be813cb2ce6.zip
move wasm_exec.js to js subdir
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();