forked from hacs/default
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 713 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.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
init:
python3 -m pip install setuptools wheel
python3 -m pip install -r requirements.txt
add: ## Add a new repository to the default HACS list
@bash scripts/add;
remove: ## Remove a repository to the default HACS list
@bash scripts/remove;
update: ## Pull master from hacs/default
@ git pull upstream master;
sort: ## Sort all files
python3 scripts/sort.py;