Skip to content

Commit

Permalink
Add makefile for build and lint
Browse files Browse the repository at this point in the history
Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
  • Loading branch information
wilsonwu committed Apr 13, 2023
1 parent 32f4bc8 commit e91900e
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 e91900e

Please sign in to comment.