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:
Kurtis Rader 2016-05-03 19:37:27 -07:00
parent d97c22df2d
commit e1a706bd77

View file

@ -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.