-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
66 lines (52 loc) · 1.49 KB
/
Copy pathMakefile
File metadata and controls
66 lines (52 loc) · 1.49 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
.PHONY: all
all = help
.venv:
@echo "Installing project dependencies.."
@poetry install --no-root
hooks:
@echo "Adding pre-commit hooks.."
@poetry run pre-commit install
test:
@echo "Running unit tests.."
@poetry run pytest
lint:
@echo "Running lint tests.."
@poetry run pre-commit run --all-files
clean:
@echo "Removing .venv"
@rm -rf .venv
@poetry env remove --all
metadata:
@echo "Generating metadata"
@poetry run python -m src.metadata
download:
@echo "Downloading boundaries"
@poetry run python -m src.download
checks:
@echo "Running checks"
@poetry run python -m src.checks
scores:
@echo "Calculating scores"
@poetry run python -m src.scores
reports:
@echo "Generating report content"
@poetry run python -m src.reports
run:
@echo "Running all commands"
@poetry run python -m src
help:
@echo "Available make commands for setup:"
@echo " make help - Print help"
@echo " make .venv - Install project dependencies"
@echo " make hooks - Add pre-commit hooks"
@echo " make test - Run unit tests"
@echo " make lint - Run lint tests"
@echo " make clean - Remove .venv"
@echo ""
@echo "Available make commands for pipeline:"
@echo " make metadata - Generate metadata"
@echo " make download - Download boundaries"
@echo " make checks - Run checks"
@echo " make scores - Calculate scores"
@echo " make reports - Generate report content"
@echo " make run - Run all commands"