From b38817b0cdf67194a7c72d92c04b6031e12a5893 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 29 Aug 2010 21:11:16 -0400 Subject: [PATCH] Add example git and svn hook scripts --- whups/scripts/whups-git-hook-conf.php.dist | 16 ++++ whups/scripts/whups-git-hook.php | 135 +++++++++++++++++++++++++++++ whups/scripts/whups-svn-hook-conf.php.dist | 17 ++++ whups/scripts/whups-svn-hook.php | 122 ++++++++++++++++++++++++++ 4 files changed, 290 insertions(+) create mode 100644 whups/scripts/whups-git-hook-conf.php.dist create mode 100755 whups/scripts/whups-git-hook.php create mode 100644 whups/scripts/whups-svn-hook-conf.php.dist create mode 100755 whups/scripts/whups-svn-hook.php diff --git a/whups/scripts/whups-git-hook-conf.php.dist b/whups/scripts/whups-git-hook-conf.php.dist new file mode 100644 index 000000000..e78035bd2 --- /dev/null +++ b/whups/scripts/whups-git-hook-conf.php.dist @@ -0,0 +1,16 @@ + '', + 'pass' => ''); diff --git a/whups/scripts/whups-git-hook.php b/whups/scripts/whups-git-hook.php new file mode 100755 index 000000000..618dfa84d --- /dev/null +++ b/whups/scripts/whups-git-hook.php @@ -0,0 +1,135 @@ +#!/usr/bin/env php +getMessage()); + } + + return true; +} diff --git a/whups/scripts/whups-svn-hook-conf.php.dist b/whups/scripts/whups-svn-hook-conf.php.dist new file mode 100644 index 000000000..72fba8bc1 --- /dev/null +++ b/whups/scripts/whups-svn-hook-conf.php.dist @@ -0,0 +1,17 @@ + '', + 'pass' => ''); diff --git a/whups/scripts/whups-svn-hook.php b/whups/scripts/whups-svn-hook.php new file mode 100755 index 000000000..48b433bd8 --- /dev/null +++ b/whups/scripts/whups-svn-hook.php @@ -0,0 +1,122 @@ +#!/usr/bin/env php +getMessage()); + } + + return true; +} -- 2.11.0