17 lines
340 B
Makefile
17 lines
340 B
Makefile
|
all: deps
|
||
|
gx:
|
||
|
go get github.com/whyrusleeping/gx
|
||
|
go get github.com/whyrusleeping/gx-go
|
||
|
deps: gx
|
||
|
gx --verbose install --global
|
||
|
gx-go rewrite
|
||
|
test: deps
|
||
|
gx test -v -race -coverprofile=coverage.txt -covermode=atomic .
|
||
|
rw:
|
||
|
gx-go rewrite
|
||
|
rwundo:
|
||
|
gx-go rewrite --undo
|
||
|
publish: rwundo
|
||
|
gx publish
|
||
|
.PHONY: all gx deps test rw rwundo publish
|