mirror of
https://github.com/nikolaydubina/calendarheatmap.git
synced 2024-12-05 03:58:50 +02:00
18 lines
865 B
Makefile
18 lines
865 B
Makefile
build:
|
|
go build
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
docs:
|
|
cat testdata/basic.json | ./calendarheatmap > docs/basic.png
|
|
cat testdata/basic.json | ./calendarheatmap -colorscale=purple-blue-9.csv > docs/colorscale-1.png
|
|
cat testdata/basic.json | ./calendarheatmap -colorscale=green-blue-9.csv > docs/colorscale-2.png
|
|
cat testdata/basic.json | ./calendarheatmap -colorscale=yellow-green-9.csv > docs/colorscale-3.png
|
|
cat testdata/basic.json | ./calendarheatmap -locale=ko_KR > docs/korean.png
|
|
cat testdata/basic.json | ./calendarheatmap -locale=ko_KR -output=svg > docs/korean.svg
|
|
cat testdata/basic.json | ./calendarheatmap -labels=false > docs/nolabels.png
|
|
cat testdata/basic.json | ./calendarheatmap -monthsep=false > docs/noseparator.png
|
|
cat testdata/basic.json | ./calendarheatmap -labels=false -monthsep=false > docs/noseparator_nolabels.png
|
|
|
|
.PHONY: build test docs |