Files
docker-go-dev/Makefile
Christopher Crone bff6023b1a Initial commit
2020-06-02 17:54:36 +02:00

19 lines
278 B
Makefile

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