mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Automatically update tcell every time make is run
This commit is contained in:
parent
408fbbabeb
commit
5112fa6fa7
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -2,13 +2,17 @@
|
|||
|
||||
VERSION = "$(shell git rev-parse --short HEAD)"
|
||||
|
||||
build: runtime
|
||||
build: runtime tcell
|
||||
go get -d ./cmd/micro
|
||||
go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro
|
||||
|
||||
install: build runtime
|
||||
install: build
|
||||
mv micro $(GOPATH)/bin
|
||||
|
||||
tcell:
|
||||
cd $(GOPATH)/src/github.com/gdamore/tcell
|
||||
git pull
|
||||
|
||||
runtime:
|
||||
go get -u github.com/jteeuwen/go-bindata/...
|
||||
$(GOPATH)/bin/go-bindata -o runtime.go runtime/...
|
||||
|
|
Loading…
Reference in a new issue