-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
39 lines (31 loc) · 866 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
start_tests:
@echo 'Start docker compose'
@cd .docker && ./start.sh with-qgis
run_tests:
@echo 'Running tests, containers must be running'
@cd .docker && ./exec.sh
@flake8
stop_tests:
@echo 'Stopping/killing containers'
@cd .docker && ./stop.sh
tests: start_tests run_tests stop_tests
test_migration:
@cd .docker && ./start.sh
@cd .docker && ./install_migrate_generate.sh
@cd .docker && ./stop.sh
flake8:
@docker run --rm -w /plugin -v $(shell pwd):/plugin etrimaille/flake8:3.8.2
schemaspy:
@cd .docker && ./start.sh
@rm -rf docs/database/
@mkdir docs/database/
@cd .docker && ./install_db.sh
@cd .docker && ./schemaspy.sh
@cd .docker && ./stop.sh
reformat_sql:
@cd .docker && ./start.sh
@cd .docker && ./install_db.sh
@cd .docker && ./reformat_sql_install.sh
@cd .docker && ./stop.sh
processing-doc:
cd .docker && ./processing_doc.sh