mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 14:47:16 +09:00
Automatically update tcell every time make is run
This commit is contained in:
8
Makefile
8
Makefile
@@ -2,13 +2,17 @@
|
|||||||
|
|
||||||
VERSION = "$(shell git rev-parse --short HEAD)"
|
VERSION = "$(shell git rev-parse --short HEAD)"
|
||||||
|
|
||||||
build: runtime
|
build: runtime tcell
|
||||||
go get -d ./cmd/micro
|
go get -d ./cmd/micro
|
||||||
go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro
|
go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro
|
||||||
|
|
||||||
install: build runtime
|
install: build
|
||||||
mv micro $(GOPATH)/bin
|
mv micro $(GOPATH)/bin
|
||||||
|
|
||||||
|
tcell:
|
||||||
|
cd $(GOPATH)/src/github.com/gdamore/tcell
|
||||||
|
git pull
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
go get -u github.com/jteeuwen/go-bindata/...
|
go get -u github.com/jteeuwen/go-bindata/...
|
||||||
$(GOPATH)/bin/go-bindata -o runtime.go runtime/...
|
$(GOPATH)/bin/go-bindata -o runtime.go runtime/...
|
||||||
|
|||||||
Reference in New Issue
Block a user