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