Add makefile

This commit is contained in:
Cyrille Nofficial 2020-01-28 23:31:54 +01:00
parent 572201a213
commit b9123ce18f

10
Makefile Normal file
View File

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