-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (34 loc) · 1022 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
start_tests:
@echo 'Start docker compose'
@cd .docker && ./start.sh with-qgis
run_tests:
@echo 'Running tests, containers must be running'
@cd .docker && ./exec_tests.sh
stop_tests:
@echo 'Stopping/killing containers'
@cd .docker && ./stop.sh
tests: start_tests run_tests stop_tests
test_migration:
@echo 'Testing migrations'
@cd .docker && ./start.sh
@cd .docker && ./install_migrate_generate.sh
@cd .docker && ./stop.sh
schemaspy:
@echo 'Generating schemaspy documentation'
@cd .docker && ./start.sh
rm -rf docs/database
mkdir docs/database
@cd .docker && ./install_db.sh
@cd .docker && ./schemaspy.sh
@cd .docker && ./stop.sh
processing-doc:
@cd .docker && ./processing_doc.sh
reformat_sql:
@echo 'Reformat SQL'
@cd .docker && ./start.sh
@cd .docker && ./install_db.sh
@cd .docker && ./reformat_sql_install.sh
@cd .docker && ./stop.sh
generate_sql:
@echo 'Generate SQL into install files from service netads'
cd netads/install/sql && ./export_database_structure_to_SQL.sh netads netads