diff --git a/Makefile b/Makefile index 60bc9ce..a193783 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,4 @@ build: go build -ldflags "-s -w -X 'github.com/friendsofgo/killgrave/internal/app/cmd._version=`git rev-parse --abbrev-ref HEAD`-`git rev-parse --short HEAD`'" -o bin/killgrave cmd/killgrave/main.go acceptance: build - @(cd acceptance && go test -count=1 -v ./...) \ No newline at end of file + @(cd acceptance && go test -count=1 -tags=acceptance -v ./...) \ No newline at end of file diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index a8d665c..d2a1b6b 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -1,3 +1,5 @@ +//go:build acceptance + package acceptance import (