mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
limit make style-all
to fish scripts in share
I noticed that if I've previous done `make test` that a subsequent `make style-all` attempts to restyle all the fish scripts in the *test* directory. Those files are transient and not part of the git repository. Limit restyling all fish scripts just to those in the *share* directory tree. There are a couple elsewhere in the repo (e.g., *build_tools*) but they can be handled on an individual basis.
This commit is contained in:
parent
d97c22df2d
commit
e1a706bd77
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if test $all = yes
|
|||
exit 1
|
||||
end
|
||||
set c_files src/*.h src/*.cpp
|
||||
set f_files ***.fish
|
||||
set f_files share/***.fish
|
||||
else
|
||||
# We haven't been asked to reformat all the source. If there are uncommitted changes reformat
|
||||
# those using `git clang-format`. Else reformat the files in the most recent commit.
|
||||
|
|
Loading…
Reference in a new issue