Add makefile

This commit is contained in:
Cyrille Nofficial 2020-02-03 19:16:19 +01:00
parent 932e447cf1
commit 85db1bb248

10
Makefile Normal file
View File

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