mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Add Poetry config
Add deployment through poetry to travis
This commit is contained in:
parent
1affb9b7b5
commit
a61658d453
8 changed files with 549 additions and 141 deletions
23
Makefile
23
Makefile
|
@ -4,10 +4,10 @@ clean:
|
|||
rm -rf dist
|
||||
rm -rf _static
|
||||
rm -rf jrnl.egg-info
|
||||
rm -rf docs/_build
|
||||
rm -rf _build
|
||||
rm -rf _sources
|
||||
rm -rf _static
|
||||
rm -rf site/
|
||||
rm -f *.html
|
||||
|
||||
html:
|
||||
|
@ -17,6 +17,21 @@ html:
|
|||
docs:
|
||||
mkdocs gh-deploy
|
||||
|
||||
# Upload to pipy
|
||||
dist:
|
||||
python setup.py publish
|
||||
format: ## check style with flake8
|
||||
poetry run black features jrnl
|
||||
|
||||
lint: ## check style with flake8
|
||||
poetry run flake8 jrnl features --ignore E501
|
||||
|
||||
test: ## Run behave tests
|
||||
poetry run behave
|
||||
|
||||
dist: clean ## builds source and wheel package
|
||||
poetry build
|
||||
|
||||
release: dist ## package and upload a release
|
||||
poetry publish
|
||||
mkdocs gh-deploy
|
||||
|
||||
install: clean ## install the package to the active Python's site-packages
|
||||
poetry install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue