mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
.cargo/config.toml: exclude from tarball
Various commits have added bits to .cargo/config.toml. Unfortunately, this file needs to be changed by the Linux package builds (debuild, RPM, OBS etc) with the results of `cargo vendor`, to support building in isolated environments. These environments - especially Debian's dpkg-buildpackage/debuild - do not make it easy to alter a file which already exists in the tarball in an automatic way. dpkg-buildpackage in particular requires all changes to be made in the form of patches. Just exclude .cargo/config.toml from the tarballs for now. This means that the stanzas it includes _will not apply_ to builds made from tarballs, which includes releases and development builds made using the OBS/Launchpad PPAs.
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -21,6 +21,8 @@
|
||||
/.github/* export-ignore
|
||||
/.builds export-ignore
|
||||
/.builds/* export-ignore
|
||||
# to make cargo vendor work correctly
|
||||
/.cargo/config.toml
|
||||
|
||||
# for linguist; let github identify our project as C++ instead of C due to pcre2
|
||||
pcre2/** linguist-vendored
|
||||
|
||||
Reference in New Issue
Block a user