mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 11:45:08 +00:00
e4674cd7b5
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.
34 lines
905 B
Text
34 lines
905 B
Text
# normalize newlines
|
|
* text=auto
|
|
*.fish text
|
|
*.bat eol=crlf
|
|
|
|
# let git show off diff hunk headers, help git diff -L:
|
|
# https://git-scm.com/docs/gitattributes
|
|
*.cpp diff=cpp
|
|
*.h diff=cpp
|
|
*.py diff=py
|
|
# add a [diff "fish"] to git config with pattern
|
|
*.fish diff=fish
|
|
|
|
# omit from git archive
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|
|
/build_tools/make_tarball.sh export-ignore
|
|
/debian export-ignore
|
|
/debian/* export-ignore
|
|
/.github export-ignore
|
|
/.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
|
|
alpine.js linguist-vendored
|
|
doc_src/** linguist-documentation
|
|
*.fish linguist-language=fish
|
|
src/*.h linguist-language=c++
|
|
src/builtins/*.h linguist-language=c++
|
|
share/completions/*.fish linguist-documentation
|