Add makefile

This commit is contained in:
Cyrille Nofficial 2020-01-28 23:31:04 +01:00
parent e803de1004
commit 75d58924a8

11
Makefile Normal file
View File

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