github.com/phpdave11/gofpdf@v1.4.2/Makefile (about) 1 all : documentation 2 3 documentation : doc/index.html doc.go README.md 4 5 cov : all 6 go test -v -coverprofile=coverage && go tool cover -html=coverage -o=coverage.html 7 8 check : 9 golint . 10 go vet -all . 11 gofmt -s -l . 12 goreportcard-cli -v | grep -v cyclomatic 13 14 README.md : doc/document.md 15 pandoc --read=markdown --write=gfm < $< > $@ 16 17 doc/index.html : doc/document.md doc/html.txt 18 pandoc --read=markdown --write=html --template=doc/html.txt \ 19 --metadata pagetitle="GoFPDF Document Generator" < $< > $@ 20 21 doc.go : doc/document.md doc/go.awk 22 pandoc --read=markdown --write=plain $< | awk --assign=package_name=gofpdf --file=doc/go.awk > $@ 23 gofmt -s -w $@ 24 25 build : 26 go build -v 27 28 clean : 29 rm -f coverage.html coverage doc/index.html doc.go README.md