aboutsummaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-07 12:07:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-07 12:07:50 -0300
commit9c61dcd74f8acc1694b89f34fd3aea4781263a19 (patch)
tree7a239c7caade45a65347846f7b8d87a688b28f40 /sandbox
parente34abbc56476850d3804dfc2e7ee06d0b1242c7b (diff)
downloadscripts-9c61dcd74f8acc1694b89f34fd3aea4781263a19.tar.gz
scripts-9c61dcd74f8acc1694b89f34fd3aea4781263a19.tar.bz2
Sandbox: verbosity and minor fix
Diffstat (limited to 'sandbox')
-rwxr-xr-xsandbox14
1 files changed, 10 insertions, 4 deletions
diff --git a/sandbox b/sandbox
index 8cce1e9..41093ba 100755
--- a/sandbox
+++ b/sandbox
@@ -32,11 +32,16 @@ else
git commit -m "Initial import"
if which git-hooks &> /dev/null; then
+ echo ""
+ echo "Installing hooks..."
git hooks --install
fi
+ git branch develop
+
if [ -e "/usr/lib/git-core/git-flow" ]; then
- git branch develop
+ echo ""
+ echo "Setting up git-flow..."
git flow init -d
fi
)
@@ -44,9 +49,10 @@ fi
# Vagrant integration
(
+ echo ""
+ echo "Setting up vagrant integration..."
cd $CODE/$PROJECT
- git branch dev
- git checkout dev
+ git checkout develop
echo '.vagrant' >> .gitignore
git commit -a -m "Dev branch with vagrant support"
@@ -57,4 +63,4 @@ fi
)
# Teardown
-echo "Please review and commit your new project :)"
+echo "Welcome to your new project :)"