Files
docker-go-dev/Makefile

19 lines
278 B
Makefile
Raw Normal View History

2020-05-28 13:29:02 +02:00
all: bin/example
test: lint unit-test
PLATFORM=local
.PHONY: bin/example
bin/example:
@docker build . --target bin \
--output bin/ \
--platform ${PLATFORM}
.PHONY: unit-test
unit-test:
@docker build . --target unit-test
.PHONY: lint
lint:
@docker build . --target lint