diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-05-03 19:37:27 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-05-03 19:37:27 -0700 |
commit | e1a706bd7770e17e36de61eaf1597d39288e7f0d (patch) | |
tree | 23cb20004d4dabcfd0a12f3a965564934ad973f5 /build_tools | |
parent | d97c22df2daaeca6c2cec7f513babb667618f1f0 (diff) |
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.
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/style.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/style.fish b/build_tools/style.fish index fc9a96e3..ee54216b 100755 --- a/build_tools/style.fish +++ b/build_tools/style.fish @@ -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. |