From f44d47f0b0a1a2ff8a1420490e877be813cb2ce6 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Jun 2025 23:32:57 -0500 Subject: move wasm_exec.js to js subdir --- html/.gitignore | 2 +- html/Makefile | 6 +++--- html/tools.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'html') 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 { } - +