summaryrefslogtreecommitdiffstats
path: root/Utilities/SetupForDevelopment.sh
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-02 18:28:57 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-02 18:33:41 (GMT)
commitd2c3686a08efa32142f250a93cf77be4d51eafb1 (patch)
treee8816d3bb5792c17f0b76be96fe8a29804018eb4 /Utilities/SetupForDevelopment.sh
parent97e1cc2880746d6a7e641a9b072af6dac10f96b3 (diff)
downloadCMake-d2c3686a08efa32142f250a93cf77be4d51eafb1.zip
CMake-d2c3686a08efa32142f250a93cf77be4d51eafb1.tar.gz
CMake-d2c3686a08efa32142f250a93cf77be4d51eafb1.tar.bz2
Add and configure developer setup helper scripts
Configure GitSetup scripts for CMake. Run them from a single Utilities/SetupForDevelopment.sh script.
Diffstat (limited to 'Utilities/SetupForDevelopment.sh')
-rwxr-xr-xUtilities/SetupForDevelopment.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Utilities/SetupForDevelopment.sh b/Utilities/SetupForDevelopment.sh
new file mode 100755
index 0000000..0a9df7e
--- /dev/null
+++ b/Utilities/SetupForDevelopment.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+cd "${BASH_SOURCE%/*}/.." &&
+Utilities/GitSetup/setup-user && echo &&
+Utilities/GitSetup/setup-hooks && echo &&
+Utilities/GitSetup/setup-stage && echo &&
+(Utilities/GitSetup/setup-ssh ||
+ echo 'Failed to setup SSH. Run this again to retry.') && echo &&
+Utilities/GitSetup/tips
+
+# Rebase master by default
+git config rebase.stat true
+git config branch.master.rebase true