mirror of
https://github.com/gitchain/gitchain.git
synced 2020-06-03 16:49:55 +00:00
19 lines
479 B
Makefile
19 lines
479 B
Makefile
SOURCES=$(wildcard *.go **/*.go **/**/*.go)
|
|
|
|
all: gitchain
|
|
|
|
gitchain: $(SOURCES) ui/bindata.go
|
|
@go build
|
|
|
|
test:
|
|
@go test ./keys ./block ./transaction ./db ./git
|
|
|
|
ui/bindata.go: ui $(filter-out ui/bindata.go, $(wildcard ui/**)) Makefile
|
|
@go-bindata -pkg=ui -o=ui/bindata.go -ignore=\(bindata.go\|\.gitignore\) -prefix=ui ui
|
|
|
|
prepare:
|
|
@go get github.com/jteeuwen/go-bindata/go-bindata
|
|
@go get github.com/tools/godep
|
|
@go get github.com/stretchr/testify/assert
|
|
@godep restore
|