Update makefile
This commit is contained in:
parent
6576dcc168
commit
957e97dfb0
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -2,9 +2,6 @@
|
|||
|
||||
VERSION = "$(shell git rev-parse --short HEAD)"
|
||||
|
||||
deps:
|
||||
go get -d ./cmd/micro
|
||||
|
||||
build: deps runtime tcell
|
||||
go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro
|
||||
|
||||
|
@ -12,7 +9,10 @@ install: build
|
|||
mv micro $(GOPATH)/bin
|
||||
|
||||
tcell:
|
||||
git -C $(GOPATH)/src/github.com/gdamore/tcell pull
|
||||
git -C $(GOPATH)/src/github.com/zyedidia/tcell pull
|
||||
|
||||
deps:
|
||||
go get -d ./cmd/micro
|
||||
|
||||
runtime:
|
||||
go get -u github.com/jteeuwen/go-bindata/...
|
||||
|
|
Loading…
Reference in a new issue