-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
42 lines (34 loc) · 978 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.sh
stop_tests:
@echo 'Stopping/killing containers'
@cd .docker && ./stop.sh
tests: start_tests run_tests stop_tests flake8
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
reformat_sql:
@echo 'Reformat SQL'
@cd .docker && ./start.sh
@cd .docker && ./install_db.sh
@cd .docker && ./reformat_sql_install.sh
@cd .docker && ./stop.sh
flake8:
@echo 'Running flake8'
@docker run --rm -w /plugin -v $(shell pwd):/plugin etrimaille/flake8:3.8.2
processing-doc:
cd .docker && ./processing_doc.sh