Update makefile
This commit is contained in:
parent
a1311ce1b5
commit
e59e2c443b
17
Makefile
17
Makefile
|
@ -6,17 +6,22 @@ GOFLAGS ?= $(GOFLAGS:)
|
|||
all: clean install build
|
||||
|
||||
build:
|
||||
@go build $(GOFLAGS) ./...
|
||||
go build $(GOFLAGS) ./...
|
||||
|
||||
install:
|
||||
@go get $(GOFLAGS) ./...
|
||||
go get github.com/dchest/uniuri
|
||||
go get github.com/ewhal/pygments
|
||||
go get github.com/go-sql-driver/mysql
|
||||
go get github.com/gorilla/mux
|
||||
|
||||
test: install
|
||||
@go test $(GOFLAGS) ./...
|
||||
go test $(GOFLAGS) ./...
|
||||
|
||||
bench: install
|
||||
@go test -run=NONE -bench=. $(GOFLAGS) ./...
|
||||
go test -run=NONE -bench=. $(GOFLAGS) ./...
|
||||
|
||||
clean:
|
||||
@go clean $(GOFLAGS) -i ./...
|
||||
@rm -rf ./build
|
||||
go clean $(GOFLAGS) -i ./...
|
||||
rm -rf ./build
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue