mirror of
https://github.com/beego/bee.git
synced 2024-11-21 13:40:53 +00:00
21 lines
290 B
Makefile
21 lines
290 B
Makefile
|
.PHONY: all test clean build install
|
||
|
|
||
|
GOFLAGS ?= $(GOFLAGS:)
|
||
|
|
||
|
all: install test
|
||
|
|
||
|
build:
|
||
|
go build $(GOFLAGS) ./...
|
||
|
|
||
|
install:
|
||
|
go get $(GOFLAGS) ./...
|
||
|
|
||
|
test: install
|
||
|
go test $(GOFLAGS) ./...
|
||
|
|
||
|
bench: install
|
||
|
go test -run=NONE -bench=. $(GOFLAGS) ./...
|
||
|
|
||
|
clean:
|
||
|
go clean $(GOFLAGS) -i ./...
|