You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by hc...@apache.org on 2014/11/24 11:18:52 UTC
thrift git commit: THRIFT-2849: codespell added to 'make style'
Repository: thrift
Updated Branches:
refs/heads/master 3b5dacba4 -> 05fb842f6
THRIFT-2849: codespell added to 'make style'
Client: Build
Patch: Konrad Grochowski
Please remember to verifying changes before commiting
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/05fb842f
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/05fb842f
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/05fb842f
Branch: refs/heads/master
Commit: 05fb842f6dcb5d359809a0eaaad8366bdea389f7
Parents: 3b5dacb
Author: Konrad Grochowski <hc...@apache.org>
Authored: Mon Nov 24 11:16:54 2014 +0100
Committer: Konrad Grochowski <hc...@apache.org>
Committed: Mon Nov 24 11:16:54 2014 +0100
----------------------------------------------------------------------
Makefile.am | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/05fb842f/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 26ddab6..aeff37c 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,6 +41,32 @@ print-version:
cross: check
sh test/test.sh
+codespell_skip_files = \
+ *.a \
+ *.la \
+ *.o \
+ *.p12 \
+ *OCamlMakefile \
+ .keystore \
+ .truststore \
+ CHANGES \
+ config.sub \
+ configure \
+ depcomp \
+ libtool.m4 \
+ output.* \
+ rebar \
+ thrift
+
+empty :=
+space := $(empty) $(empty)
+comma := ,
+
+skipped_files = $(subst $(space),$(comma),$(codespell_skip_files))
+
+style-local:
+ codespell --write-changes --skip=$(skipped_files) --disable-colors
+
EXTRA_DIST = \
.travis.yml \
bower.json \