diff options
| author | Roy Sommer <royso@wix.com> | 2019-12-24 12:47:49 +0200 |
|---|---|---|
| committer | Roy Sommer <royso@wix.com> | 2019-12-24 12:47:49 +0200 |
| commit | 4bc41c6668faae310ecd72a7d4ab9c01de4873a8 (patch) | |
| tree | 45507a1ffc0c7968762dece53b677de7c9a984d0 | |
| parent | updated travis yaml (diff) | |
| download | taskipy2-4bc41c6668faae310ecd72a7d4ab9c01de4873a8.zip | |
updated pytoml
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | pyproject.toml | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -2,8 +2,8 @@ > the complementary task runner for python poetry projects - - +[](https://pypi.org/project/taskipy/) +[](https://travis-ci.org/illBeRoy/taskipy) ## General Every development pipeline has tasks, such as `test`, `lint` or `publish`. With taskipy, you can define those tasks in one file and run them with a simple command. diff --git a/pyproject.toml b/pyproject.toml index 3ca8bef..a93cd7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ mypy = "^0.761" rope = "^0.14.0" [tool.taskipy.tasks] -test = "python -m unittest tests/test_*.py" +test = "python -m unittest -v tests/test_*.py" post_test = "./task lint" lint = "./task lint_pylint && ./task lint_mypy" @@ -39,6 +39,10 @@ lint_mypy = "mypy tests taskipy" pre_publish = "./task test" publish = "poetry publish --build" +pre_publish_minor = "./task test" +bump_patch_version = "poetry version patch && git add . && git commit -m 'bumped minor version'" +publish_patch = "./task bump_patch_version && poetry publish --build" + [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" |