backup-utils

Backup utilities
git clone http://git.omkov.net/backup-utils
Log | Tree | Refs | Download

backup-utils/Makefile (13 lines, 337 B) -rw-r--r-- blame download

0123456789101112
.PHONY: all build test help
all: help

build: ## Build the project
	@go build -C ./src/backup-imap -o ../../bin/backup-imap .

test: ## Run unit tests
	@go test ./...

help: ## Display help information
	@grep -E '^[a-zA-Z_-]+:.*?##.*$$' $(MAKEFILE_LIST) | \
		awk 'BEGIN {FS = ":.*?## *"}; {printf "\033[36m%-6s\033[0m %s\n", $$1, $$2}'