robocar-led/Makefile

13 lines
252 B
Makefile
Raw Permalink Normal View History

2020-01-28 22:31:54 +00:00
.PHONY: test docker
2021-09-11 18:52:44 +00:00
DOCKER_IMG = docker.io/cyrilix/robocar-led
rc-led: binary-amd64
2020-01-28 22:31:54 +00:00
test:
2021-09-11 18:52:44 +00:00
go test -race -tags no_d2xx ./cmd/rc-led ./part ./led
2020-01-28 22:31:54 +00:00
docker:
docker buildx build . --platform linux/arm/7,linux/arm64,linux/amd64 -t ${DOCKER_IMG} --push