Skip to content

Commit

Permalink
feat(chezmoi): add uv installation support with script and version check
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Oct 19, 2024
1 parent 6c02b3b commit ce7df96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chezmoi/.chezmoidata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,14 @@ packages:
apt: true
brew: true
scope: minimal
- name: uv
script: true
script_cmd: "curl -LsSf https://astral.sh/uv/install.sh | sh"
check_installed: "command -v uv &> /dev/null"
current_version: "uv --version | cut -d' ' -f2"
latest_version: $(curl -s https://api.github.com/repos/astral-sh/uv/releases/latest | grep 'tag_name' | cut -d'"' -f4)
scope: optional
allow_upgrade: true
- name: vim
apt: true
scope: minimal
Expand Down

0 comments on commit ce7df96

Please sign in to comment.