aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: d2e029890e32aeae20c93aa1228b6536749d9aef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tool.poetry]
name = "taskipy"
description = "tasks runner for python projects"
version = "1.1.1"
authors = ["Roy Sommer <roy@sommer.co.il>"]
readme = "README.md"
repository = "https://github.com/illBeRoy/taskipy"
license = "MIT"
keywords = ["tasks", "task runner", "development"]
classifiers = [
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Topic :: Software Development :: Build Tools"
]
packages = [
    { include = "taskipy" }
]

[tool.poetry.scripts]
task = 'taskipy.cli:main'

[tool.poetry.dependencies]
python = "^3.5"
toml = "^0.10.0"

[tool.poetry.dev-dependencies]
pylint = "^2.4.4"
mypy = "^0.761"
rope = "^0.14.0"

[tool.taskipy.tasks]
test = "python -m unittest -v tests/test_*.py"
post_test = "./task lint"

lint = "./task lint_pylint && ./task lint_mypy"
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"

pre_publish = "./task test"
publish = "poetry publish --build"

pre_publish_patch = "./task test"
bump_patch_version = "poetry version patch && git add . && git commit -m 'bumped patch version' && git push"
publish_patch = "./task bump_patch_version && poetry publish --build"

pre_publish_minor = "./task test"
bump_minor_version = "poetry version minor && git add . && git commit -m 'bumped minor version' && git push"
publish_minor = "./task bump_minor_version && poetry publish --build"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"