summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-08 19:17:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-08 19:17:12 (GMT)
commitc7145ce8f77eea28b43f113697e7c9b6db21773f (patch)
tree2a24618f8ab92bd085c28f4f50623eb4147e673e /BuildTools/SCons
parentd53ceecb25f336fd1e7e5d9a6ae52599ff2cb12b (diff)
downloadswift-contrib-c7145ce8f77eea28b43f113697e7c9b6db21773f.zip
swift-contrib-c7145ce8f77eea28b43f113697e7c9b6db21773f.tar.bz2
Install pre-commit hook.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 3f441cb..577536f 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -352,6 +352,12 @@ elif env.get("bonjour", False) :
bonjour_conf.Finish()
################################################################################
+# Set up git hooks
+################################################################################
+
+env.Install("#/.git/hooks", Glob("#/BuildTools/Git/Hooks/*"))
+
+################################################################################
# Project files
# FIXME: We need to explicitly list the order of libraries here, because of
# the exported FLAGS. We should put FLAGS in separate SConscript files, and