aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-03 19:37:27 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-03 19:37:27 -0700
commite1a706bd7770e17e36de61eaf1597d39288e7f0d (patch)
tree23cb20004d4dabcfd0a12f3a965564934ad973f5 /build_tools
parentd97c22df2daaeca6c2cec7f513babb667618f1f0 (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-xbuild_tools/style.fish2
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.