-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 731 Bytes
/
Makefile
File metadata and controls
38 lines (26 loc) · 731 Bytes
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:
poetry install
build:
poetry build
publish:
poetry publish --dry-run
gendiff-install:
python3 -m pip install . hexlet-code
package-install:
python3 -m pip install --user --force-reinstall dist/*.whl
lint:
poetry run flake8 gendiff
test-coverage:
poetry run pytest --cov=gendiff --cov-report xml
pytest:
poetry run pytest -vv
example:
poetry run gendiff tests/fixtures/file1.yml tests/fixtures/file2.yaml
tree:
poetry run gendiff tests/fixtures/tree1.json tests/fixtures/tree2.json
plain:
poetry run gendiff -f plain tests/fixtures/file1.yml tests/fixtures/file2.yaml
plain-tree:
poetry run gendiff -f plain tests/fixtures/tree1.json tests/fixtures/tree2.json
asciinema:
asciinema rec -t "gendiff"