Add makefile

This commit is contained in:
2020-03-01 19:46:23 +01:00
parent 9f53e7412b
commit 7f0d0a6cb3

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
.PHONY: test docker
DOCKER_IMG = cyrilix/robocar-throttle
test:
go test -race -mod vendor ./...
docker:
docker buildx build . --platform linux/arm/7,linux/arm64,linux/amd64 -t ${DOCKER_IMG} --push