-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
function sparse_checkout { | ||
mkdir sparse_checkout | ||
cd sparse_checkout | ||
git init | ||
git config core.sparsecheckout true | ||
git remote add -f origin http://github.com/$1/$2 | ||
echo Resources/doc > .git/info/sparse-checkout | ||
git checkout master | ||
mv Resources/doc ../bundles/$2 | ||
cd .. | ||
rm -rf sparse_checkout | ||
} | ||
|
||
sparse_checkout sensiolabs SensioFrameworkExtraBundle | ||
sparse_checkout sensiolabs SensioGeneratorBundle | ||
sparse_checkout doctrine DoctrineFixturesBundle | ||
sparse_checkout doctrine DoctrineMigrationsBundle | ||
sparse_checkout doctrine DoctrineMongoDBBundle | ||
git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf | ||
|