From 4bc41c6668faae310ecd72a7d4ab9c01de4873a8 Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Tue, 24 Dec 2019 12:47:49 +0200 Subject: updated pytoml --- README.md | 4 ++-- pyproject.toml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cebcf02..e82c520 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ > the complementary task runner for python poetry projects -![pypi](https://img.shields.io/pypi/v/taskipy?style=flat-square) -![travis](https://img.shields.io/travis/com/illBeRoy/taskipy?style=flat-square) +[![pypi](https://img.shields.io/pypi/v/taskipy?style=flat-square)](https://pypi.org/project/taskipy/) +[![travis](https://img.shields.io/travis/illBeRoy/taskipy?style=flat-square)](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" -- cgit v1.2.3