From 75d58924a8acce8334ef3285e88025d5a7c2f97a Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Tue, 28 Jan 2020 23:31:04 +0100 Subject: [PATCH] Add makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..feb576b --- /dev/null +++ b/Makefile @@ -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 +