* add button for languages setting * build a web module for the dashboard - load all python module from local dir - initialize Blueprint and Babel * set a default key for secure cookies * add translations to docker container * improve translation build - clean target erases the *.pot - don't modify the resurt of url_for() calls - don't translate the language description * translate connection table, fix icon * build relative urls for HA ingress * fix unit test, increase coverage
27 lines
610 B
Makefile
27 lines
610 B
Makefile
.PHONY: build babel clean addon-dev addon-debug addon-rc addon-rel debug dev preview rc rel check-docker-compose install
|
|
|
|
babel:
|
|
$(MAKE) -C app $@
|
|
|
|
build:
|
|
$(MAKE) -C ha_addons $@
|
|
|
|
clean build:
|
|
$(MAKE) -C app $@
|
|
$(MAKE) -C ha_addons $@
|
|
|
|
debug dev preview rc rel:
|
|
$(MAKE) -C app babel
|
|
$(MAKE) -C app $@
|
|
|
|
addon-dev addon-debug addon-rc addon-rel:
|
|
$(MAKE) -C app babel
|
|
$(MAKE) -C ha_addons $(patsubst addon-%,%,$@)
|
|
|
|
check-docker-compose:
|
|
docker-compose config -q
|
|
|
|
install:
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install -r requirements.txt
|
|
python3 -m pip install -r requirements-test.txt
|