Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mindreframer/10826 to your computer and use it in GitHub Desktop.
Save mindreframer/10826 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# clean desktop
rm -rf ~/Desktop/braid_test
# clone plugins from github
mkdir ~/tmp
mkdir ~/tmp/braid/
cd ~/tmp/braid
git clone git://github.com/thoughtbot/shoulda.git
git clone git://github.com/rails/rails.git
git clone git://github.com/thoughtbot/factory_girl.git
git clone git://github.com/technicalpickles/factory_girl_on_rails.git
git clone git://github.com/technicalpickles/shoulda_generator.git
cd ~/Desktop/
rails braid_test
cd braid_test
git init
touch .gitignore
echo "*.log
tmp/*
*.sqlite3
doc/api/*
db/schema.rb
*\*~*
*.DS_Store
._*" |cat > .gitignore
git add .
git commit -m "initial commit"
braid add ~/tmp/braid/rails --type git vendor/rails
braid add ~/tmp/braid/shoulda -p --type git
#braid add git://github.com/thoughtbot/shoulda.git -p
#braid add git://github.com/thoughtbot/factory_girl.git vendor/gems/thoughtbot-factory_girl-1
#braid add git://github.com/technicalpickles/factory_girl_on_rails.git -p
#braid add git://github.com/technicalpickles/shoulda_generator.git -p
#braid add git://github.com/rails/rails.git vendor/rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment