micro/Makefile

21 lines
339 B
Makefile
Raw Normal View History

.PHONY: runtime
build: runtime
go get -d ./cmd/micro
go build -o micro ./cmd/micro
2016-03-21 16:51:45 +00:00
install: build runtime
2016-04-18 15:36:51 +00:00
mv micro $(GOPATH)/bin
2016-03-21 16:51:45 +00:00
2016-04-18 13:35:53 +00:00
runtime:
go get -u github.com/jteeuwen/go-bindata/...
$(GOPATH)/bin/go-bindata -o runtime.go runtime/...
2016-04-18 13:35:53 +00:00
mv runtime.go cmd/micro
2016-03-25 17:42:41 +00:00
test:
go get -d ./cmd/micro
go test ./cmd/micro
2016-03-25 17:42:41 +00:00
clean:
rm -f micro