34b2b6cbd1
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
22 lines
475 B
Makefile
22 lines
475 B
Makefile
all: deps
|
|
gx:
|
|
go get github.com/whyrusleeping/gx
|
|
go get github.com/whyrusleeping/gx-go
|
|
deps: gx
|
|
go get github.com/gorilla/mux
|
|
go get github.com/hashicorp/raft
|
|
go get github.com/hashicorp/raft-boltdb
|
|
go get github.com/ugorji/go/codec
|
|
|
|
gx --verbose install --global
|
|
gx-go rewrite
|
|
test: deps
|
|
go test -v -covermode count -coverprofile=coverage.out .
|
|
rw:
|
|
gx-go rewrite
|
|
rwundo:
|
|
gx-go rewrite --undo
|
|
publish: rwundo
|
|
gx publish
|
|
.PHONY: all gx deps test rw rwundo publish
|