Add ability to build gotgt without cgo

Signed-off-by: Chris Koch <chrisko@google.com>
This commit is contained in:
Chris Koch
2019-07-29 12:46:41 -07:00
parent 5f8aa301ff
commit f92573fd28
4 changed files with 29 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ all: init build
build: init
go build -o ${BIN_DIR}/gotgt gotgt.go
build-nocgo: init
CGO_ENABLED=0 go build -o ${BIN_DIR}/gotgt gotgt.go
verify:
hack/verify-gofmt.sh