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
|
all: clean install build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@go build $(GOFLAGS) ./...
|
go build $(GOFLAGS) ./...
|
||||||
|
|
||||||
install:
|
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
|
test: install
|
||||||
@go test $(GOFLAGS) ./...
|
go test $(GOFLAGS) ./...
|
||||||
|
|
||||||
bench: install
|
bench: install
|
||||||
@go test -run=NONE -bench=. $(GOFLAGS) ./...
|
go test -run=NONE -bench=. $(GOFLAGS) ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@go clean $(GOFLAGS) -i ./...
|
go clean $(GOFLAGS) -i ./...
|
||||||
@rm -rf ./build
|
rm -rf ./build
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue