mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
16 lines
569 B
Makefile
16 lines
569 B
Makefile
.DEFAULT_GOAL := help
|
|
|
|
help: ## Shows help message.
|
|
@printf "\033[1m%s\033[36m %s\033[32m %s\033[0m \n\n" "Development environment for" "HACS" "Default";
|
|
@awk 'BEGIN {FS = ":.*##";} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m make %-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST);
|
|
@echo
|
|
|
|
add: ## Add a new repository to the default HACS list
|
|
@echo script/add;
|
|
|
|
remove: ## Remove a repository to the default HACS list
|
|
@bash script/remove;
|
|
|
|
update: ## Pull master from hacs/default
|
|
@ git pull upstream master;
|