1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 13:40:53 +00:00

added Makefile

This commit is contained in:
Faissal Elamraoui 2016-07-25 21:11:07 +02:00
parent 4f3ed96523
commit 7254acdb7f

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
.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 ./...