Add makefile
This commit is contained in:
parent
e803de1004
commit
75d58924a8
11
Makefile
Normal file
11
Makefile
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user