robocar-arduino/Makefile
2020-01-28 23:28:37 +01:00

12 lines
257 B
Makefile

.PHONY: test docker
DOCKER_IMG = cyrilix/robocar-arduino
test:
go test -mod vendor ./cmd/rc-arduino ./arduino
docker:
export DOCKEC_CLI_EXPERIMENTAL=enabled
docker buildx build . --platform linux/arm/7,linux/arm64,linux/amd64 -t ${DOCKER_IMG} --push