Skip to content

Commit

Permalink
add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomatree committed Oct 29, 2021
1 parent b94c8cd commit 77fa908
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist
*.egg-info
docs/_build
.vscode
.env
28 changes: 28 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -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
Empty file added revolt/py.typed
Empty file.

0 comments on commit 77fa908

Please sign in to comment.