From b9d6416f229340a03202c124a39a0e5160664031 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Mon, 16 Feb 2026 20:37:33 -0800 Subject: Complete V2 removal from Makefile and check in updated V3 production assets --- Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3