Initial commit
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user