templates/python-uv: init justfile

This commit is contained in:
Lu Wang 2024-11-28 19:48:17 +08:00
parent 84428b7b9d
commit 9423b66264
Signed by: rebmit
SSH key fingerprint: SHA256:3px8QV1zEerIrEWHaqtH5rR9kjetyRST5EipOPrd+bU
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,7 @@
packages = [ packages = [
(pythonSet.mkVirtualEnv "python-uv-env" workspace.deps.all) (pythonSet.mkVirtualEnv "python-uv-env" workspace.deps.all)
pkgs.python311Packages.uv pkgs.python311Packages.uv
pkgs.just
config.treefmt.build.wrapper config.treefmt.build.wrapper
]; ];
env = [ env = [

View file

@ -0,0 +1,7 @@
set shell := ["bash", "-c"]
add *name:
uv add {{name}} --no-sync
remove *name:
uv remove {{name}} --no-sync