First cut of toplevel Makefile

This commit is contained in:
Peter Bourgon
2015-05-12 18:47:13 +02:00
committed by Tom Wilkie
parent cab7c84ce4
commit 8269cc9705

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
.PHONY: all build static test clean
all: build
build: static
go build ./...
static:
go get github.com/mjibson/esc
cd client && make build && rm -f dist/.htaccess
cd app && esc -o static.go -prefix ../client/dist ../client/dist
test:
go test ./...
clean:
go clean ./...