Simplify Makefile
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
build: modules
|
build: modules
|
||||||
CGO_ENABLED=0 go build -o ./bin/anon3anon ./cmd/anon3anon
|
CGO_ENABLED=0 go build -o ./bin/anon3anon ./cmd/anon3anon
|
||||||
|
|
||||||
|
.PHONY: modules
|
||||||
modules:
|
modules:
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
|
||||||
test:
|
|
||||||
go test ./..
|
|
||||||
|
|||||||
Reference in New Issue
Block a user