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

extend central Makefile for database schema creation

parent 87db698f
Branches
No related tags found
No related merge requests found
...@@ -30,12 +30,32 @@ install-database-dev-env: ...@@ -30,12 +30,32 @@ install-database-dev-env:
@echo "+-----------------------------------------------+" @echo "+-----------------------------------------------+"
@echo "| installing Python packages for the database |" @echo "| installing Python packages for the database |"
@echo "+-----------------------------------------------+" @echo "+-----------------------------------------------+"
$(MAKE) install-devenv -C $(CURDIR)/Ccs/devel/database $(MAKE) install-devenv -C $(CURDIR)/Ccs/database
@echo "+-----------------------------------------------+" @echo "+-----------------------------------------------+"
@echo "| installed Python packages for the database |" @echo "| installed Python packages for the database |"
@echo "+-----------------------------------------------+" @echo "+-----------------------------------------------+"
@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: set-start-scripts-permissions:
@echo "+-----------------------------------------------------+" @echo "+-----------------------------------------------------+"
@echo "| setting permissions for the start scripts (execute) |" @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