-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
55 lines (43 loc) · 1.88 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
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
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
generate_sql:
cd gobs/install/sql && ./export_database_structure_to_SQL.sh gobs gobs
@cd ../../..
reformat_sql:
@cd .docker && ./start.sh
@cd .docker && ./install_db.sh
@cd .docker && ./reformat_sql_install.sh
@cd .docker && ./stop.sh
sql: generate_sql reformat_sql
processing-doc:
cd .docker && ./processing_doc.sh
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/processing/README.md docs/processing/index.html
flake8:
@docker run --rm -w /plugin -v $(shell pwd):/plugin etrimaille/flake8:3.8.2
github-pages:
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/README.md docs/index.html
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/installation/README.md docs/installation/index.html
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/admin_guide/README.md docs/admin_guide/index.html
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/concepts/README.md docs/concepts/index.html
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/user_guide/README.md docs/user_guide/index.html
@docker run --rm -w /plugin -v $(shell pwd):/plugin 3liz/pymarkdown:latest docs/concepts/old_french_doc/README.md docs/concepts/old_french_doc/index.html