...

Text file src/github.com/jung-kurt/gofpdf/Makefile

Documentation: github.com/jung-kurt/gofpdf

     1all : documentation
     2
     3documentation : doc/index.html doc.go README.md 
     4
     5cov : all
     6	go test -v -coverprofile=coverage && go tool cover -html=coverage -o=coverage.html
     7
     8check :
     9	golint .
    10	go vet -all .
    11	gofmt -s -l .
    12	goreportcard-cli -v | grep -v cyclomatic
    13
    14README.md : doc/document.md
    15	pandoc --read=markdown --write=gfm < $< > $@
    16
    17doc/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
    21doc.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
    25build :
    26	go build -v
    27
    28clean :
    29	rm -f coverage.html coverage doc/index.html doc.go README.md

View as plain text