Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: test
all: build test

# include release tools for building binary and testing targets
include release-tools/build.make
Expand All @@ -8,7 +8,7 @@ GOPATH ?= $(shell go env GOPATH)
REPO_ROOT = $(CURDIR)
BUILD_DIR = bin
BUILD_TOOLS_DIR = $(BUILD_DIR)/tools
GO_ENV_VARS = GO111MODULE=on GOOS=windows
GO_ENV_VARS = GO111MODULE=on GOOS=windows GOARCH=amd64

# see https://github.com/golangci/golangci-lint/releases
GOLANGCI_LINT_VERSION = v1.21.0
Expand All @@ -19,6 +19,10 @@ lint: $(GOLANGCI_LINT)
$(GO_ENV_VARS) $(GOLANGCI_LINT) run
git --no-pager diff --exit-code

.PHONY: build
build:
${GO_ENV_VARS} go test -c ./integrationtests -o ./bin/integrationtests.test.exe

.PHONY: test-go
test: test-go
test-go:
Expand Down