From bbda5d59d0e461b6b9ddf70801ff2a5934171943 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Thu, 21 Apr 2016 19:27:47 -0400 Subject: [PATCH] Fix makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1cb6f9c6..59555e18 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ VERSION = "$(shell git rev-parse --short HEAD)" -build: runtime tcell +deps: go get -d ./cmd/micro + +build: deps runtime tcell go build -ldflags "-X main.Version=$(VERSION)" -o micro ./cmd/micro install: build