File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 55
66install :
77 - " git submodule update --init"
8- - " git clone http://github.com/sensiolabs/SensioFrameworkExtraBundle _bndls/sensio-framework-extra"
9- - " git clone http://github.com/sensiolabs/SensioGeneratorBundle _bndls/sensio-generator"
10- - " git clone http://github.com/doctrine/DoctrineFixturesBundle _bndls/doctrine-fixtures"
11- - " git clone http://github.com/doctrine/DoctrineMigrationsBundle _bndls/doctrine-migrations"
12- - " git clone http://github.com/doctrine/DoctrineMongoDBBundle _bndls/doctrine-mongodb"
13- - " git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf"
14- - " mv _bndls/doctrine-mongodb/Resources/doc bundles/DoctrineMongoDBBundle"
15- - " mv _bndls/doctrine-migrations/Resources/doc bundles/DoctrineMigrationsBundle"
16- - " mv _bndls/doctrine-fixtures/Resources/doc bundles/DoctrineFixturesBundle"
17- - " mv _bndls/sensio-framework-extra/Resources/doc bundles/SensioFrameworkExtraBundle"
18- - " mv _bndls/sensio-generator/Resources/doc bundles/SensioGeneratorBundle"
8+ - " bash install.sh"
199 - " pip install -q -r requirements.txt --use-mirrors"
2010
2111script : sphinx-build -nW -b html -d _build/doctrees . _build/html
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ function sparse_checkout {
4+ mkdir sparse_checkout
5+ cd sparse_checkout
6+ git init
7+ git config core.sparsecheckout true
8+ git remote add -f origin http://github.com/$1 /$2
9+ echo Resources/doc > .git/info/sparse-checkout
10+ git checkout master
11+ mv Resources/doc ../bundles/$2
12+ cd ..
13+ rm -rf sparse_checkout
14+ }
15+
16+ sparse_checkout sensiolabs SensioFrameworkExtraBundle
17+ sparse_checkout sensiolabs SensioGeneratorBundle
18+ sparse_checkout doctrine DoctrineFixturesBundle
19+ sparse_checkout doctrine DoctrineMigrationsBundle
20+ sparse_checkout doctrine DoctrineMongoDBBundle
21+ git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf
22+
You can’t perform that action at this time.
0 commit comments