go-org-orgwiki/Makefile
2018-12-02 18:59:03 +01:00

23 lines
335 B
Makefile

.PHONY: default
default: test
.PHONY: install
install:
go get -t ./...
.PHONY: build
build: install
go build main.go
.PHONY: test
test: install
go test ./... -v
.PHONY: setup
setup:
git config core.hooksPath etc/githooks
case=example
.PHONY: render
render:
bash -c "go run main.go org/testdata/$(case).org html |& html2text"