mirror of
https://github.com/longsleep/realtimetraffic.git
synced 2024-11-16 08:48:33 +01:00
Ensure to generate
This commit is contained in:
parent
4eb829700d
commit
5493cf644f
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -34,10 +34,10 @@ generate:
|
||||||
generate-dev:
|
generate-dev:
|
||||||
GOPATH=$(GOPATH) $(CURDIR)/vendor/bin/go-bindata -dev -prefix "client/static/" -pkg client -o client/bindata.go client/static/...; fi
|
GOPATH=$(GOPATH) $(CURDIR)/vendor/bin/go-bindata -dev -prefix "client/static/" -pkg client -o client/bindata.go client/static/...; fi
|
||||||
|
|
||||||
binary:
|
binary: generate
|
||||||
GOPATH=$(GOPATH) go build -o bin/realtimetrafficd realtimetrafficd/*.go
|
GOPATH=$(GOPATH) go build -o bin/realtimetrafficd realtimetrafficd/*.go
|
||||||
|
|
||||||
build: goget generate binary
|
build: goget binary
|
||||||
|
|
||||||
format:
|
format:
|
||||||
find $(FOLDERS) \( -name "*.go" ! -name "bindata.go" \) -print0 | xargs -0 -n 1 go fmt
|
find $(FOLDERS) \( -name "*.go" ! -name "bindata.go" \) -print0 | xargs -0 -n 1 go fmt
|
||||||
|
|
Loading…
Reference in a new issue