-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (30 loc) · 792 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
install:
pipenv install -d
test: install
pipenv run pytest -vv --cov --cov-report=xml
lint: hadolint ruff markdownlint
hadolint:
hadolint Dockerfile
ruff:
# task is allowed to fail (leading -)
-ruff check \
--fix \
--config "lint.extend-select=['E','F','B','Q','S','W','DJ']" .
markdownlint:
markdownlint './*.md' \
--ignore './test/output.md' \
--ignore './test/custom-template-keywords.md' \
--ignore './EXAMPLE_OUTPUT.md'
examples: example example-advanced
example: install
pipenv run python stella.py \
-fh \
-css EXAMPLE/style.css \
-hcp EXAMPLE/prometheus \
-o EXAMPLE/prometheus.html
example-advanced: install
pipenv run python stella.py \
-fh \
--advanced-html \
-hcp EXAMPLE/prometheus \
-o EXAMPLE/prometheus-advanced.html