From d0f83c8e5681a022f7bf351660cdec6e54e24ab7 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Sun, 1 Mar 2020 19:46:23 +0100 Subject: [PATCH] Add makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..97466b1 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: test docker + +DOCKER_IMG = cyrilix/robocar-throttle + +test: + go test -race -mod vendor ./... + +docker: + docker buildx build . --platform linux/arm/7,linux/arm64,linux/amd64 -t ${DOCKER_IMG} --push +