-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
26 lines (19 loc) · 740 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.DEFAULT_GOAL := help
help: ## Shows help message.
@printf "\033[1m%s\033[36m %s\033[32m %s\033[0m \n\n" "Development environment for" "KNX Panel" "Frontend";
@awk 'BEGIN {FS = ":.*##";} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m make %-18s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST);
@echo
init:
make bootstrap;
develop: ## Start the frontend
script/develop;
bootstrap: ## Bootstrap the repository
script/bootstrap;
build: ## Build the repository
script/build;
update: ## Pull main from xknx/knx-frontend
git pull upstream main;
update-submodule: ## Udpate submodules
rm -R homeassistant-frontend;
git submodule update --init --recursive --remote;
script/bootstrap