Add makefile

This commit is contained in:
Cyrille Nofficial 2020-03-01 19:46:23 +01:00
parent 9f53e7412b
commit d0f83c8e56

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