Created
September 12, 2013 08:48
-
-
Save fzaninotto/6534625 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby / Bundler / Diaspora | |
# Fork https://github.com/diaspora/diaspora | |
# Repeat 5 times | |
time sh -c 'git clone https://github.com/fzaninotto/diaspora.git;cd sandbox;bundle install --deployment' | |
rm -Rf diaspora | |
# commit dependencies | |
git clone https://github.com/fzaninotto/diaspora.git | |
cd diaspora | |
git checkout -b with_dependencies | |
git add vendor/bundle/ --force | |
git commit -m 'add dependencies' | |
git push origin with_dependencies | |
cd .. | |
rm -Rf diaspora; | |
# Repeat 5 times | |
time git clone -b with_dependencies https://github.com/fzaninotto/diaspora.git | |
rm -Rf diaspora |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PHP / composer / Sonata sandbox | |
# Fork https://github.com/sonata-project/sandbox | |
# Repeat 5 times | |
rm -Rf ~/.composer/cache* | |
time sh -c 'git clone https://github.com/fzaninotto/sandbox.git;cd sandbox;composer.phar install' | |
rm -Rf sandbox | |
# commit dependencies | |
git clone https://github.com/fzaninotto/sandbox.git | |
cd sandbox | |
git checkout -b with_dependencies | |
find vendor -name '.git' -type d | xargs rm -Rf | |
git add vendor --force | |
git commit -m 'add dependencies' | |
git push origin with_dependencies | |
cd .. | |
rm -Rf sandbox; | |
# Repeat 5 times | |
time git clone -b with_dependencies https://github.com/fzaninotto/sandbox.git | |
rm -Rf sandbox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node.js / npm / Uptime | |
# Fork https://github.com/fzaninotto/uptime.git | |
# Repeat 5 times | |
npm cache clean | |
time sh -c 'git clone https://github.com/fzaninotto/uptime.git;cd uptime;npm install' | |
rm -Rf uptime | |
# commit dependencies | |
git clone https://github.com/fzaninotto/uptime.git | |
cd uptime | |
git checkout -b with_dependencies | |
git add node_modules --force | |
git commit -m 'add dependencies' | |
git push origin with_dependencies | |
cd .. | |
rm -Rf uptime; | |
# Repeat 5 times | |
time git clone -b with_dependencies https://github.com/fzaninotto/uptime.git | |
rm -Rf uptime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment