Skip to content

Commit 49f8449

Browse files
Add tasks for build, start, serve, and test
Added new tasks for building, starting, serving, and testing in pixi.toml.
1 parent 3e1bed9 commit 49f8449

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

pixi.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ pytest = ">=8.0"
5656
# python-build PyPI'da "build" adıyla geçer; conda'da "python-build" ama
5757
# pixi-build-python backend'i varken buna genellikle gerek kalmaz.
5858
# Eğer `python -m build` çalıştırmak istersen:
59+
kececinumbers = { path = ".", editable = true }
5960
build = ">=1.2"
6061

6162
[environments]
@@ -64,9 +65,14 @@ default = { features = ["dev"], solve-group = "default" }
6465
# ──────────────────────────────────────────
6566
[tasks]
6667
# Kod kalitesi
67-
fmt = "ruff format ."
68-
lint = "ruff check ."
69-
fix = "ruff check --fix . || true"
68+
fmt = "ruff format ."
69+
lint = "ruff check ."
70+
fix = "ruff check --fix . || true"
71+
build = "python -m build"
72+
start = "python -c 'import kececinumbers; print(kececinumbers.__version__)'"
73+
serve = { cmd = "python -m http.server 8080", cwd = "docs" }
74+
test = "pytest -v" # artık depends-on ["install"] gerekmiyor
75+
install-remote = "pip install git+https://github.com/WhiteSymmetry/kececinumbers"
7076

7177
# Paket — pixi-build-python varken `pixi build` tercih edilir
7278
build = "python -m build"

0 commit comments

Comments
 (0)