From 5ae2ee45176d9bbf0e456a17581e713474e3aef5 Mon Sep 17 00:00:00 2001 From: Michael Woolnough Date: Thu, 22 Aug 2024 11:22:03 +0100 Subject: [PATCH] Remove JS test and linting from Makefile. --- Makefile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Makefile b/Makefile index 840727f2..00e6574a 100644 --- a/Makefile +++ b/Makefile @@ -13,23 +13,10 @@ default: install build: export CGO_ENABLED = 1 build: - @cd server/static/wrstat; npm install && npm run build:prod - go build -tags netgo ${LDFLAGS} - -buildnonpm: export CGO_ENABLED = 1 -buildnonpm: go build -tags netgo ${LDFLAGS} install: export CGO_ENABLED = 1 install: - @rm -f ${GOPATH}/bin/wrstat - @cd server/static/wrstat; npm install && npm run build:prod - @echo Starting go install - @go install -tags netgo ${LDFLAGS} - @echo Installed to ${GOPATH}/bin/wrstat - -installnonpm: export CGO_ENABLED = 1 -installnonpm: @rm -f ${GOPATH}/bin/wrstat @go install -tags netgo ${LDFLAGS} @echo installed to ${GOPATH}/bin/wrstat @@ -38,7 +25,6 @@ test: export CGO_ENABLED = 1 test: @cd server/static/wrstat; npm install && CI= npm run build:prod @go test -tags netgo --count 1 ./... - @cd server/static/wrstat; CI=1 npm test race: export CGO_ENABLED = 1 race: @@ -51,7 +37,6 @@ bench: # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1 lint: export CGO_ENABLED = 1 lint: - @cd server/static/wrstat; npm install && CI= npm run lint || true @golangci-lint run --timeout 2m # remove the || true when you get round to removing all anys