go-org-orgwiki/Makefile
2018-12-02 16:49:44 +01:00

19 lines
281 B
Makefile

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