diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-16 20:37:33 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-16 20:37:33 -0800 |
| commit | b9d6416f229340a03202c124a39a0e5160664031 (patch) | |
| tree | d79fe63fde421f71e4ecdb1d2033bafe763350a4 /Makefile | |
| parent | 82c9194786f28a9cbd8e95dc974b940e78274feb (diff) | |
| download | neko-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-- | Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -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 |
