mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
* 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>
31 lines
533 B
Makefile
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 ./...
|
|
|