You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
871 B

{
"version": "2.0.0",
"tasks": [
{
"label": "Python: Cleanup Build",
"type": "shell",
"command": "rm -rf ./build && rm -rf ./dist && rm -rf src/*.egg-info"
},
{
"label": "Python: Build",
"type": "shell",
"dependsOn": ["Python: Cleanup Build"],
"command": "source activate.sh && python setup.py sdist bdist_wheel"
},
{
"label": "Python: Release package on PyPI",
"type": "shell",
"dependsOn": ["Python: Build"],
"command": "source activate.sh && twine upload dist/* -u goincrypto"
},
{
"label": "Coverage: Make coverage",
"type": "shell",
"command": "source activate.sh && pytest -s -vvv --cov . --cov-report xml:cov.xml"
}
]
}