Skip to content

Commit

Permalink
Installing uv via its own install method now, including upgrade possi…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
reinout committed Oct 1, 2024
1 parent 449815f commit ff8616d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# 'osx' is the default install-everything target, 'install' installs
# ourselves.
doc:
@echo make install: install everything, including ourselves
@echo make upgrade: update/upgrade uv, brew, pipx


install: osx-deps npm ourselves_install local-dev extra-pipx


upgrade:
uv self update
brew update
brew upgrade
pipx reinstall-all
Expand Down Expand Up @@ -63,7 +67,6 @@ pipx-deps: ~/.local/pipx/venvs/ansible\
~/.local/pipx/venvs/pipenv\
~/.local/pipx/venvs/pyupgrade\
~/.local/pipx/venvs/tox \
~/.local/pipx/venvs/uv \
~/.local/pipx/venvs/youtube-dl


Expand All @@ -81,7 +84,11 @@ pipx-deps: ~/.local/pipx/venvs/ansible\
echo "You might want to run dotfiles --sync --force, btw"


ourselves_install: pipx-deps ~/Dotfiles
/Users/reinout/.cargo/bin/uv:
curl -LsSf https://astral.sh/uv/install.sh | sh


ourselves_install: /Users/reinout/.cargo/bin/uv pipx-deps ~/Dotfiles
./install_shell_scripts.sh
python3 generate_python_docs.py
python3 generate_shell_docs.py
Expand Down

0 comments on commit ff8616d

Please sign in to comment.