Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dec729

Browse files
tvlooywouterj
authored andcommitted
sparse checkouts
1 parentb6f693e commit8dec729

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

‎.travis.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,7 @@ python:
55

66
install:
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

2111
script:sphinx-build -nW -b html -d _build/doctrees . _build/html

‎install.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
functionsparse_checkout {
4+
mkdir sparse_checkout
5+
cd sparse_checkout
6+
git init
7+
git config core.sparsecheckouttrue
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+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp