mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
tarballs: append to cargo config
This allows putting other configuration into the config file without it being deleted for tarballs. https://github.com/fish-shell/fish-shell/pull/12292#discussion_r2678697643
This commit is contained in:
@@ -1,4 +1 @@
|
||||
# This file is _not_ included in the tarballs for now
|
||||
# Binary builds on Linux packaging infrastructure need to overwrite it to make `cargo vendor` work
|
||||
# Releases and development builds made using OBS/Launchpad will _not_ reflect the contents of this
|
||||
# file
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ PREFIX_TMPDIR=$(mktemp -d)
|
||||
cd "$PREFIX_TMPDIR"
|
||||
|
||||
mkdir .cargo
|
||||
cargo vendor --manifest-path "$wd/Cargo.toml" > .cargo/config.toml
|
||||
cargo vendor --manifest-path "$wd/Cargo.toml" >> .cargo/config.toml
|
||||
|
||||
tar cfvJ "$path".xz vendor .cargo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user