mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +00:00
improve Makefile help
This commit is contained in:
@@ -76,7 +76,7 @@ jobs:
|
||||
AZURE_STORAGE_ACCESS_KEY: "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
|
||||
run: |
|
||||
sudo mkdir -p /srv ; sudo chown runner /srv
|
||||
COVERAGE_DIR=${{ runner.temp }} make
|
||||
COVERAGE_DIR=${{ runner.temp }} make all
|
||||
|
||||
- name: Merge code coverage
|
||||
run: |
|
||||
|
||||
@@ -12,14 +12,14 @@ COVERAGE_DIR?=$(shell mktemp -d)
|
||||
# Uncomment to update test outputs
|
||||
# CAPTURE := "--capture"
|
||||
|
||||
all: modules test bench check system-test
|
||||
|
||||
# Self-documenting Makefile
|
||||
# https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
help: ## Print this help
|
||||
@grep -E '^[a-zA-Z][a-zA-Z0-9_-]*:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
@grep -E '^[a-zA-Z][a-zA-Z0-9_-]*:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
modules:
|
||||
all: modules test bench check system-test
|
||||
|
||||
modules: ## Install go module dependencies
|
||||
go mod download
|
||||
go mod verify
|
||||
go mod tidy -v
|
||||
|
||||
Reference in New Issue
Block a user