You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CGO_ENABLED=0 go build -tags "$(ADD_BUILD_TAGS)"$(GOFLAGS) -o $@ ./cmd
45
33
46
34
unittest:
47
-
$(GOCGO)test ./... -coverprofile=coverage.out
35
+
gotest ./... -coverprofile=coverage.out
48
36
49
37
lint:
50
38
@which golangci-lint >/dev/null ||echo"WARNING: go linter not installed. To install, run\n curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b \$$(go env GOPATH)/bin v1.46.2"
51
39
@if [ "z${ARCH}"="zx86_64" ] && which golangci-lint >/dev/null ;then golangci-lint run --config .golangci.yml ;elseecho"WARNING: Linting skipped (not on x86_64 or linter not installed)";fi
0 commit comments