lnd.xprv/Makefile
Chakib Benziane 2f84d8ee2b
add a basic makefile
Included commands:

- deps: install glide and dependencies
- install: install lnd
- fmt: run `go fmt` excluding vendor
- test: run `go test` as per documentation
2018-03-28 03:07:49 -07:00

21 lines
320 B
Makefile

.PHONY: all glidebin glide deps install fmt test
all: install
glidebin:
go get -u github.com/Masterminds/glide
glide: glidebin
glide install
deps: glide
install: deps
go install . ./cmd/...
fmt:
go fmt ./... $$(go list ./... | grep -v '/vendor/')
test:
go test -v -p 1 $$(go list ./... | grep -v '/vendor/')