go-org-orgwiki/Makefile
Niklas Fasching 6adad92e8b Update main.go: Log to stdout & support both html and html-chroma
Could be moved into a flag but I'll significantly refactor the main.go later on
anyways - for now this works TM
2018-12-11 14:42:05 +01:00

23 lines
324 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:
go run main.go org/testdata/$(case).org html | html2text