A kind of Augmented Reality programming game that makes you a better programmer.
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.
ttarpit/Makefile

33 lines
621 B

GO_IS_STUPID_EXE=
ifeq '$(OS)' 'Windows_NT'
GO_IS_STUPID_EXE=.exe
endif
build: build_tester
3 weeks ago
go build .
run: build
./ttarpit
3 weeks ago
test:
go test lcthw.dev/go/ttarpit/tests -c -o runtests$(GO_IS_STUPID_EXE)
./runtests$(GO_IS_STUPID_EXE)
3 weeks ago
build_tester:
go build -o tester$(GO_IS_STUPID_EXE) ./tools/cmd/tester/main.go
3 weeks ago
docs:
go tool pkgsite --open
3 weeks ago
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