You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
763 B
29 lines
763 B
build:
|
|
go build .
|
|
|
|
compare:
|
|
./jankifier -input ./tests/images/bash_test.png -output none.png -pixel-width 4 -color-depth 16 -dither 0
|
|
./jankifier -input ./tests/images/bash_test.png -output floyd.png -pixel-width 4 -color-depth 16 -dither 1
|
|
./jankifier -input ./tests/images/bash_test.png -output atkinson.png -pixel-width 4 -color-depth 16 -dither 2
|
|
|
|
test:
|
|
go test MY/webapp/tests -c
|
|
./tests.test
|
|
|
|
test_only:
|
|
go test . -c -o
|
|
./tests.test -test.run TestSomePage
|
|
|
|
docs:
|
|
pkgsite --open
|
|
|
|
coverage:
|
|
go build -cover -o webapp
|
|
mkdir -p .coverage
|
|
echo "GOCOVERDIR=.coverage ./webapp"
|
|
|
|
cover_report:
|
|
go tool covdata textfmt -i=.coverage -o coverage.txt
|
|
go tool cover -func=coverage.txt
|
|
go tool cover -html=coverage.txt -o coverage.html
|
|
open coverage.html
|
|
|