From b2d48e7d38c9eb0a75e6404c3b8a8f4ecf66060c Mon Sep 17 00:00:00 2001 From: Alec Sears Date: Thu, 10 Oct 2019 15:46:03 -0500 Subject: [PATCH] Update Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bbcc790..d42c6fb 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build: build-frontend build-backend build-frontend: npm run dev-build build-backend: - env GOOS=linux go build -o -mod=vendor ./dist/zabbix-plugin_linux_amd64 ./pkg + env GOOS=linux go build -mod=vendor -o ./dist/zabbix-plugin_linux_amd64 ./pkg dist: dist-frontend dist-backend dist-frontend: @@ -28,10 +28,10 @@ test: test-frontend test-backend test-frontend: npm run test test-backend: - go test -v -mod=vendor ./... + go test -v -mod=vendor ./pkg/... test-ci: npm run ci-test - go test -race -coverprofile=tmp/coverage/golang/coverage.txt -covermode=atomic -mod=vendor + go test -race -coverprofile=tmp/coverage/golang/coverage.txt -covermode=atomic -mod=vendor ./pkg/... .PHONY: clean clean: