Skip to content

Commit

Permalink
improve structure
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Sep 15, 2022
1 parent ff2fe04 commit 61c9a5d
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
24 changes: 0 additions & 24 deletions makefile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions src/makefile
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

0 comments on commit 61c9a5d

Please sign in to comment.