From a37d1be3e0c4af1cf212f2dd02583f214217576a Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Thu, 12 Dec 2019 11:36:19 +0300 Subject: [PATCH] use yarn instead of npm run for consistency --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1fd4721..f7dc65c 100644 --- a/Makefile +++ b/Makefile @@ -10,13 +10,13 @@ install: build: build-frontend build-backend build-frontend: - npm run dev-build + yarn dev-build build-backend: env GOOS=linux go build -mod=vendor -o ./dist/zabbix-plugin_linux_amd64 ./pkg dist: dist-frontend dist-backend dist-frontend: - npm run build + yarn build dist-backend: dist-backend-linux dist-backend-darwin dist-backend-windows dist-backend-windows: extension = .exe dist-backend-%: @@ -26,11 +26,11 @@ dist-backend-%: .PHONY: test test: test-frontend test-backend test-frontend: - npm run test + yarn test test-backend: go test -v -mod=vendor ./pkg/... test-ci: - npm run ci-test + yarn ci-test mkdir -p tmp/coverage/golang/ go test -race -coverprofile=tmp/coverage/golang/coverage.txt -covermode=atomic -mod=vendor ./pkg/... @@ -40,5 +40,5 @@ clean: .PHONY: lint lint: - npm run lint + yarn lint golint -set_exit_status pkg/...