Skip to content

Commit

Permalink
Merge pull request #10 from wilsonwu/make-file
Browse files Browse the repository at this point in the history
Add makefile for build and lint
  • Loading branch information
wilsonwu authored Apr 13, 2023
2 parents 32f4bc8 + e91900e commit e7ff1d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: go_lint
go_lint:
golangci-lint run

.PHONY: build
build:
CGO_ENABLED=0 GOOS=linux GOARCH=$(TARGETARCH) go build -o rollouts-contour-trafficrouter-plugin ./

0 comments on commit e7ff1d5

Please sign in to comment.