mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 10:11:13 -03:00
In future, we should ask "renovatebot" to update these version. I don't have an opinion on whether to use "uv" or something else, but I think we do want lockfiles, and I don't know of a natural way to install Sphinx via Cargo. No particular reason for this Python version. Part of #11996
34 lines
746 B
Bash
Executable File
34 lines
746 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
command -v curl
|
|
command -v gcloud
|
|
command -v jq
|
|
command -v rustup
|
|
command -v updatecli
|
|
command -v uv
|
|
sort --version-sort </dev/null
|
|
|
|
uv lock --check
|
|
|
|
updatecli "${@:-apply}"
|
|
|
|
uv lock # Python version constraints may have changed.
|
|
uv lock --upgrade
|
|
|
|
from_gh() {
|
|
repo=$1
|
|
path=$2
|
|
out_dir=$3
|
|
contents=$(curl -fsS https://raw.githubusercontent.com/"${repo}"/refs/heads/master/"${path}")
|
|
printf '%s\n' >"$out_dir/$(basename "$path")" "$contents"
|
|
}
|
|
from_gh ridiculousfish/widecharwidth widechar_width.rs src/widecharwidth/
|
|
from_gh ridiculousfish/littlecheck littlecheck/littlecheck.py tests/
|
|
|
|
# Update Cargo.lock
|
|
cargo update
|
|
# Update Cargo.toml and Cargo.lock
|
|
cargo +nightly -Zunstable-options update --breaking
|