Files
ark/client/Makefile
Pietralberto Mazza dc00d60585 Rename folders (#97)
* Rename arkd folder & drop cli

* Rename ark cli folder & update docs

* Update readme

* Fix

* scripts: add build-all

* Add target to build cli for all platforms

* Update build scripts

---------

Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
2024-02-09 19:32:58 +01:00

31 lines
533 B
Makefile

.PHONY: build build-all clean help lint vet
build:
@echo "Building binary..."
@bash ./scripts/build
build-all:
@echo "Building binary..."
@bash ./scripts/build-all
## clean: cleans the binary
clean:
@echo "Cleaning..."
@go clean
## help: prints this help message
help:
@echo "Usage: \n"
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
## lint: lint codebase
lint:
@echo "Linting code..."
@golangci-lint run --fix
## vet: code analysis
vet:
@echo "Running code analysis..."
@go vet ./...