Add test rule

Adds a generic go test rule to the Makefile.
This commit is contained in:
Felix Niederwanger 2024-02-17 15:13:49 +01:00
parent d534856fb6
commit 122ff16589
Signed by: phoenix
GPG key ID: 6E77A590E3F6D71C

View file

@ -11,6 +11,8 @@ ot-browser-static: cmd/ot-browser/*.go
export CGO_ENABLED=0
CGO_ENABLED=0 go build -ldflags="-w -s" -o ot-browser $^
test:
go test ./...
container: Dockerfile cmd/ot-browser/*.go
docker build . -t feldspaten.org/ot-browser