1
0
mirror of https://github.com/pcvolkmer/docker-pps.git synced 2025-07-01 20:52:54 +00:00

Add makefile and build script

Binary will be build in corresponding GOOS-GOARCH folder.

Install command will build and install binary for current platform until
GOOS and/or GOARCH env var is set.
This commit is contained in:
2022-03-04 11:08:48 +01:00
parent 71af908d16
commit e4850f270d
2 changed files with 53 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
ifndef VERBOSE
.SILENT:
endif
all: binary
.PHONY: fmt
fmt:
sh ./scripts/build.sh fmt
.PHONY: clean
clean:
sh ./scripts/build.sh clean
.PHONY: binary
binary:
sh ./scripts/build.sh build
.PHONY: install
install:
sh ./scripts/build.sh install