From e1a706bd7770e17e36de61eaf1597d39288e7f0d Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 3 May 2016 19:37:27 -0700 Subject: 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. --- build_tools/style.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_tools') 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. -- cgit v1.2.3