mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
First cut of toplevel Makefile
This commit is contained in:
committed by
Tom Wilkie
parent
cab7c84ce4
commit
8269cc9705
18
Makefile
Normal file
18
Makefile
Normal 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 ./...
|
||||
|
||||
Reference in New Issue
Block a user