-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff2fe04
commit 61c9a5d
Showing
8 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Makefile | ||
# | ||
|
||
.PHONY: help build | ||
.DEFAULT_GOAL := help | ||
|
||
|
||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
# ---------------------------------------------------------------------------------------------------------------- | ||
|
||
install: ## Installs all dependencies | ||
go mod download | ||
|
||
build: ## Builds the binary | ||
env GOOS=linux GOARCH=arm64 go build -o ../build/linux/arm64/dockware-cli | ||
env GOOS=linux GOARCH=arm go build -o ../build/linux/arm/dockware-cli | ||
env GOOS=darwin GOARCH=arm64 go build -o ../build/mac/arm64/dockware-cli | ||
env GOOS=darwin GOARCH=amd64 go build -o ../build/mac/amd64/dockware-cli | ||
env GOOS=windows GOARCH=arm64 go build -o ../build/windows/arm64/dockware-cli | ||
env GOOS=windows GOARCH=amd64 go build -o ../build/windows/amd64/dockware-cli | ||
env GOOS=windows GOARCH=arm go build -o ../build/windows/arm/dockware-cli |