Changeset 1769
- Timestamp:
- 08/23/06 15:59:41 (2 years ago)
- Files:
-
- trunk/bin/create_quickstart.sh (modified) (2 diffs)
- trunk/bin/symfony.php (modified) (2 diffs)
- trunk/lib/vendor (modified) (1 prop)
- trunk/package.xml.tmpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bin/create_quickstart.sh
r967 r1769 13 13 cd ${SANDBOX_NAME} 14 14 mkdir lib bin data web 15 16 # pake17 18 echo ">>> add pake package"19 mkdir tmp20 cd tmp21 curl http://www.pake-project.org/downloads/pake-current.tgz > pake.tgz22 tar zxpf pake.tgz23 mv pake-`awk '/<release>/ {print $1}' package.xml | sed 's#<release>##' | sed 's#</release>##' | head -n 1`/lib/pake ../lib/pake24 mv pake-`awk '/<release>/ {print $1}' package.xml | sed 's#<release>##' | sed 's#</release>##' | head -n 1`/bin/pake.php ../bin/25 cd ..26 rm -rf tmp27 15 28 16 # symfony libraries … … 55 43 ./symfony.sh init-project ${SANDBOX_NAME} 56 44 ./symfony.sh init-app ${APP_NAME} 57 58 # phing59 60 echo ">>> add phing package"61 mkdir tmp62 cd tmp63 curl http://phing.info/pear/phing-current.tgz > phing.tgz64 tar zxpf phing.tgz65 mv phing-`awk '/<version>/ {print $1}' package.xml | sed 's#<version>##' | sed 's#</version>##' | head -n 1` ../lib/phing66 cd ..67 rm -rf tmp68 45 69 46 # schema.xml trunk/bin/symfony.php
r1415 r1769 7 7 8 8 // define some PEAR directory constants 9 define('PAKEFILE_LIB_DIR', '@PEAR-DIR@');10 define('PAKEFILE_DATA_DIR', '@DATA-DIR@');9 $pear_lib_dir = '@PEAR-DIR@'; 10 $pear_data_dir = '@DATA-DIR@'; 11 11 define('PAKEFILE_SYMLINK', false); 12 12 define('SYMFONY_VERSION', '@SYMFONY-VERSION@'); 13 13 14 require_once 'pake.php'; 14 if (is_readable('lib/symfony')) 15 { 16 define('PAKEFILE_LIB_DIR', 'lib/symfony'); 17 define('PAKEFILE_DATA_DIR', 'data/symfony'); 18 } 19 else 20 { 21 define('PAKEFILE_LIB_DIR', '@PEAR-DIR@/symfony/lib'); 22 define('PAKEFILE_DATA_DIR', '@DATA-DIR@/symfony/data'); 23 } 24 25 set_include_path(PAKEFILE_LIB_DIR.'/vendor'.PATH_SEPARATOR.get_include_path()); 26 $pakefile = PAKEFILE_DATA_DIR.'/bin/pakefile.php'; 27 28 include_once('pake/pakeFunction.php'); 15 29 16 30 // we trap -V before pake … … 40 54 } 41 55 42 // find pakefile (local or PEAR)43 if (is_readable('lib/symfony'))44 {45 // local46 $pakefile = 'data/symfony/bin/pakefile.php';47 }48 else49 {50 // PEAR51 $pakefile = PAKEFILE_DATA_DIR.'/symfony/bin/pakefile.php';52 }53 54 56 $pake = pakeApp::get_instance(); 55 57 try trunk/lib/vendor
- Property svn:externals set to
pake http://svn.symfony-project.com/tools/pake/tags/RELEASE_1_1_0/lib/pake
phing http://svn.phing.info/tags/2.2.0/classes/phing
- Property svn:externals set to
trunk/package.xml.tmpl
r752 r1769 62 62 <min>1.4.1</min> 63 63 </pearinstaller> 64 <package>65 <name>pake</name>66 <channel>pear.symfony-project.com</channel>67 <min>1.0.93</min>68 </package>69 64 </required> 70 65 </dependencies>