.PHONY: runtime
-VERSION = $(shell git describe --tags --abbrev=0)
+VERSION = $(shell go run tools/build-version.go)
HASH = $(shell git rev-parse --short HEAD)
-DATE = $(shell python -c 'import time; print(time.strftime("%B %d, %Y"))')
+DATE = $(shell go run tools/build-date.go)
# Builds micro after checking dependencies but without updating the runtime
build: deps tcell
# Same as 'build' but installs to $GOPATH/bin afterward
install: build
+ mkdir -p $(GOPATH)/bin
mv micro $(GOPATH)/bin
# Same as 'build-all' but installs to $GOPATH/bin afterward
# Same as 'build-quick' but installs to $GOPATH/bin afterward
install-quick: build-quick
+ mkdir -p $(GOPATH)/bin
mv micro $(GOPATH)/bin
# Updates tcell