mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-20 15:38:19 -04:00
add justfile
This commit is contained in:
@@ -5,3 +5,4 @@ dist
|
||||
*.egg-info
|
||||
docs/_build
|
||||
.vscode
|
||||
.env
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
set dotenv-load := true
|
||||
|
||||
activate:
|
||||
source .venv/bin/activate
|
||||
|
||||
venv:
|
||||
python -m venv .venv
|
||||
just activate
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install -r docs_requirements.txt
|
||||
|
||||
test:
|
||||
python test.py
|
||||
|
||||
build: venv
|
||||
python -m build
|
||||
|
||||
upload: venv
|
||||
python -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD
|
||||
|
||||
lint:
|
||||
pyright . --venv-path .venv
|
||||
|
||||
coverage:
|
||||
pyright --lib --ignoreexternal --verifytypes revolt
|
||||
|
||||
docs:
|
||||
cd docs && make html
|
||||
Executable
Reference in New Issue
Block a user