Fix makefile

This commit is contained in:
Cyrille Nofficial 2020-01-28 23:28:37 +01:00
parent f2ab59f4d0
commit 245029b759

View File

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