]> git.lizzy.rs Git - micro.git/blobdiff - Makefile
Don't open a new split if help is already open
[micro.git] / Makefile
index f0541c2f2740e02dbbe8c241fc2c9b16fd6f0d15..bc7081394eeb05e5259c3e7fa4fd597b3538de7a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,13 +2,18 @@
 
 VERSION = "$(shell git rev-parse --short HEAD)"
 
-build: runtime
-       go get -d ./cmd/micro
+build: deps tcell
        go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro
 
-install: build runtime
+install: build
        mv micro $(GOPATH)/bin
 
+tcell:
+       git -C $(GOPATH)/src/github.com/zyedidia/tcell pull
+
+deps:
+       go get -d ./cmd/micro
+
 runtime:
        go get -u github.com/jteeuwen/go-bindata/...
        $(GOPATH)/bin/go-bindata -o runtime.go runtime/...