Development

/branches/2.0/vendors.sh

You must first sign up to be able to contribute.

root/branches/2.0/vendors.sh

Revision 32376, 1.5 kB (checked in by fabien, 2 years ago)

Merge branch 'master' of git://github.com/symfony/symfony

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 cd $(dirname $0)
4
5 # initialization
6 if [ "$1" = "--reinstall" ]; then
7     rm -rf vendor
8 fi
9
10 mkdir -p vendor && cd vendor
11
12 ##
13 # @param destination directory (e.g. "doctrine")
14 # @param URL of the git remote (e.g. git://github.com/doctrine/doctrine2.git)
15 # @param revision to point the head (e.g. origin/HEAD)
16 #
17 install_git()
18 {
19     INSTALL_DIR=$1
20     SOURCE_URL=$2
21     REV=$3
22
23     if [ -z $REV ]; then
24         REV=origin/HEAD
25     fi
26
27     if [ ! -d $INSTALL_DIR ]; then
28         git clone $SOURCE_URL $INSTALL_DIR
29     fi
30
31     cd $INSTALL_DIR
32     git fetch origin
33     git reset --hard $REV
34     cd ..
35 }
36
37 # Assetic
38 install_git assetic git://github.com/kriswallsmith/assetic.git
39
40 # Doctrine ORM
41 install_git doctrine git://github.com/doctrine/doctrine2.git
42
43 # Doctrine Data Fixtures Extension
44 install_git doctrine-data-fixtures git://github.com/doctrine/data-fixtures.git
45
46 # Doctrine DBAL
47 install_git doctrine-dbal git://github.com/doctrine/dbal.git
48
49 # Doctrine Common
50 install_git doctrine-common git://github.com/doctrine/common.git
51
52 # Doctrine migrations
53 install_git doctrine-migrations git://github.com/doctrine/migrations.git
54
55 # Doctrine MongoDB
56 install_git doctrine-mongodb git://github.com/doctrine/mongodb.git
57
58 # Doctrine MongoDB
59 install_git doctrine-mongodb-odm git://github.com/doctrine/mongodb-odm.git
60
61 # Swiftmailer
62 install_git swiftmailer git://github.com/swiftmailer/swiftmailer.git origin/4.1
63
64 # Twig
65 install_git twig git://github.com/fabpot/Twig.git
66
67 # Zend Framework
68 install_git zend git://github.com/zendframework/zf2.git
Note: See TracBrowser for help on using the browser.