Skip to content
Snippets Groups Projects
Commit bd6c4876 authored by Marko Mecina's avatar Marko Mecina
Browse files

extend central Makefile for database schema creation

parent 87db698f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ check:
cd .. ; pylint -E database/test_db.py
# cd .. ; MYPYPATH=~/.local/lib/python3.7/site-packages/ mypy -s database/tm_db.py database/test_db.py
run:
storage:
cd .. ; python3 -m database.tm_db
verbose:
......
......@@ -30,12 +30,32 @@ install-database-dev-env:
@echo "+-----------------------------------------------+"
@echo "| installing Python packages for the database |"
@echo "+-----------------------------------------------+"
$(MAKE) install-devenv -C $(CURDIR)/Ccs/devel/database
$(MAKE) install-devenv -C $(CURDIR)/Ccs/database
@echo "+-----------------------------------------------+"
@echo "| installed Python packages for the database |"
@echo "+-----------------------------------------------+"
@echo
install-database:
@echo "+----------------------------------------+"
@echo "| setting up the storage database schema |"
@echo "+----------------------------------------+"
$(MAKE) storage -C $(CURDIR)/Ccs/database
@echo "+--------------------------------------------+"
@echo "| set up of the storage database schemas done|"
@echo "+--------------------------------------------+"
@echo
install-codeblockreusefeature:
@echo "+-----------------------------------------------+"
@echo "| setting up the codeblockreuse database schema |"
@echo "+-----------------------------------------------+"
$(MAKE) schema -C $(CURDIR)/Tst/codeblockreusefeature
@echo "+---------------------------------------------------+"
@echo "| set up of the codeblockreuse database schemas done|"
@echo "+---------------------------------------------------+"
@echo
set-start-scripts-permissions:
@echo "+-----------------------------------------------------+"
@echo "| setting permissions for the start scripts (execute) |"
......
schema:
python3 -m db_schema
.PHONY: schema
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment