aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 17:30:34 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 17:30:34 -0800
commit90c1a68d6478138f538094fc83e48da8ddd21fa0 (patch)
tree90c5e03ec49bb0790ca849f6dac09786cd93bce3 /Makefile
parent7ceec2469ecb047ed8f9c8e2149323d8500773e2 (diff)
downloadneko-90c1a68d6478138f538094fc83e48da8ddd21fa0.tar.gz
neko-90c1a68d6478138f538094fc83e48da8ddd21fa0.tar.bz2
neko-90c1a68d6478138f538094fc83e48da8ddd21fa0.zip
Scaffold Vanilla JS Frontend (v3): Create directory, update Makefile/web.go, embed dist/v3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a9bba4..c3076f6 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
default: build
-all: clean ui build docs
+all: clean ui ui-vanilla build docs
clean:
rm -f ${BINARY}
@@ -25,6 +25,9 @@ ui:
mkdir -p web/dist/v2
cp -r frontend/dist/* web/dist/v2/
+ui-vanilla:
+ cd frontend-vanilla && ${NPM} install && ${NPM} run build
+
build:
${GO} build ${LDFLAGS} -o ${BINARY} ./cmd/neko