blob: c7448145ceb49a95d76b8133ea6e6d628714ba44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.PHONY: dist test install clean twine auto-completion
install:
pip3 install -e .
test:
pytest tests --cov=./gita $(TEST_ARGS) -n=auto -vv
dist:
python3 setup.py sdist
twine:
twine upload dist/*
clean:
git clean -fdx
auto-completion:
@ mkdir -p auto-completion/bash
@ mkdir -p auto-completion/zsh
@ mkdir -p auto-completion/fish
register-python-argcomplete gita -s bash > auto-completion/bash/.gita-completion.bash
register-python-argcomplete gita -s zsh > auto-completion/zsh/_gita
register-python-argcomplete gita -s fish > auto-completion/fish/gita.fish
|