diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:14:48 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:14:48 -0800 |
| commit | 25f817030dc2bf2c8d53f7c57c17a387263be667 (patch) | |
| tree | b460b0cdb0934b6b7fb347b7a144569cce944b51 /Makefile | |
| parent | d5a413382c93efeb1d888daf3216c51cd5f40f75 (diff) | |
| download | neko-25f817030dc2bf2c8d53f7c57c17a387263be667.tar.gz neko-25f817030dc2bf2c8d53f7c57c17a387263be667.tar.bz2 neko-25f817030dc2bf2c8d53f7c57c17a387263be667.zip | |
chore: align local Makefile with GitHub CI jobs
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -9,7 +9,7 @@ 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 run dev +.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint ci run dev docs default: build @@ -34,9 +34,25 @@ install: build test: ${GO} test ./... cd frontend && ${NPM} test -- --run - + +test-race: + ${GO} test -race ./... + +test-frontend: + cd frontend && ${NPM} run lint + cd frontend && ${NPM} test -- --run + +test-e2e: build + ./scripts/run_e2e_safe.sh + +ui-check: ui + git diff --exit-code web/dist/v2/ + lint: - golangci-lint run + ${GO} vet ./... + cd frontend && ${NPM} run lint + +ci: lint test-race test-frontend ui-check test-e2e run: build ./${BINARY} |
