-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
37 lines (26 loc) · 636 Bytes
/
Justfile
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
set dotenv-load
@default:
@just --list
@init:
pipenv run pip install -e '.[test]'
@clean:
-rm dist/*
-rmdir dist
-rm src/gitramble.egg-info/*
-rmdir src/gitramble.egg-info
@build: lint check test
pipenv run pyproject-build
@check:
pipenv run ruff format --check
@format: lint
pipenv run ruff format
@lint:
pipenv run ruff check
@test:
pipenv run pytest
@checks: lint check test
@tui:
pipenv run textual run --dev src/gitramble/cli.py $GRMBL_DIR -u $GRMBL_URL --ctrl-s
# Run the CLI with the help flag and save the output to temp.txt.
@help:
pipenv run python3 src/gitramble/cli.py --help > temp.txt