mirror of
https://github.com/thegeeklab/drone-matrix.git
synced 2024-11-25 03:30:39 +00:00
14 lines
244 B
Makefile
14 lines
244 B
Makefile
|
.PHONY: build
|
||
|
build: drone-plugin-matrix
|
||
|
|
||
|
drone-plugin-matrix: main.go
|
||
|
CGO_ENABLED=0 go build -ldflags '-s -w'
|
||
|
|
||
|
.PHONY: docker
|
||
|
docker: drone-plugin-matrix
|
||
|
docker build -t drone-plugin-matrix .
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
rm -f drone-plugin-matrix
|