aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-16 20:37:33 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-16 20:37:33 -0800
commitb9d6416f229340a03202c124a39a0e5160664031 (patch)
treed79fe63fde421f71e4ecdb1d2033bafe763350a4 /Makefile
parent82c9194786f28a9cbd8e95dc974b940e78274feb (diff)
downloadneko-b9d6416f229340a03202c124a39a0e5160664031.tar.gz
neko-b9d6416f229340a03202c124a39a0e5160664031.tar.bz2
neko-b9d6416f229340a03202c124a39a0e5160664031.zip
Complete V2 removal from Makefile and check in updated V3 production assets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 2cd1235..ed03063 100644
--- a/Makefile
+++ b/Makefile
@@ -9,21 +9,17 @@ VERSION=0.3
BUILD=`git rev-parse HEAD`
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
-.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint check ci run dev docs install-hooks cover coverage-html bench bench-short stress test-perf
+.PHONY: default all clean build install test test-race test-frontend test-e2e ui-check lint check ci run dev docs install-hooks cover coverage-html bench bench-short stress test-perf
default: build
-all: clean ui ui-vanilla build docs
+all: clean ui-vanilla build docs
clean:
rm -f ${BINARY}
rm -f readme.html
-ui:
- cd frontend && ${NPM} install && ${NPM} run build
- rm -rf web/dist/v2
- mkdir -p web/dist/v2
- cp -r frontend/dist/* web/dist/v2/
+
ui-vanilla:
cd frontend-vanilla && ${NPM} install && ${NPM} run build
@@ -52,18 +48,16 @@ coverage-html: cover
${GO} tool cover -html=coverage.out
test-frontend:
- cd frontend && ${NPM} run lint
- cd frontend && ${NPM} test -- --run
+ cd frontend-vanilla && ${NPM} test -- --run
# test-e2e: build
# ./scripts/run_e2e_safe.sh
-ui-check: ui
- git diff --exit-code web/dist/v2/
+ui-check: ui-vanilla
+ git diff --exit-code web/dist/v3/
lint:
golangci-lint run
- cd frontend && ${NPM} run lint
check: lint test