Development

Changeset 11101

You must first sign up to be able to contribute.

Changeset 11101

Show
Ignore:
Timestamp:
08/25/08 11:18:08 (2 years ago)
Author:
gimler
Message:

update createPackage.php for different symfony releases ;)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfMinifyPlugin/createPackage.php

    r4091 r11101  
    55$summary     = 'Integrate the minify library see http://code.google.com/p/minify/ into symfony'; 
    66$description = 'Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads.'; 
    7 $channel     = 'pear.symfony-project.com'; 
    8 $release_state   = 'beta'; 
    9 $release_version = '0.1.0'; 
    10 $release_notes   = "first release"; 
     7 
     8$branch = '1.1'; 
     9if($branch == '1.0') 
     10
     11  $channel     = 'pear.symfony-project.com'; 
     12  $release_version = '1.0.1'; 
     13  $symfony_min     = '1.0.0'; 
     14  $symfony_max     = '1.0.99999'; 
     15
     16else 
     17
     18  $channel     = 'plugins.symfony-project.org'; 
     19  $release_version = '1.1.1'; 
     20  $symfony_min     = '1.1.0'; 
     21  $symfony_max     = '1.1.99999'; 
     22
     23 
     24$release_state   = 'stable'; 
     25$release_notes   = "fix symfony version"; 
    1126$api_state       = 'stable'; 
    12 $api_version     = '1.0.1'; 
     27$api_version     = '2.0.1'; 
    1328$license_name    = 'BSD License'; 
    1429$license_url     = 'http://www.opensource.org/licenses/bsd-license.php'; 
    1530$dep_php         = '5.0.0'; 
    1631$dep_pear        = '1.5.4'; 
    17 $symfony_min     = '1.0.0'; 
    18 $symfony_max     = '1.0.99999'; 
    1932 
    2033require_once 'PEAR/PackageFileManager2.php'; 
     
    2538 
    2639$p2->setOptions(array( 
    27   'packagedirectory'  => dirname(__FILE__)
     40  'packagedirectory'  => dirname(__FILE__) . DIRECTORY_SEPARATOR . 'branches' . DIRECTORY_SEPARATOR . $branch
    2841  'baseinstalldir'    => '/sfMinifyPlugin', 
    29   'changelogoldtonew' => false, 
     42  'changelogoldtonew' => true, 
    3043  'ignore' => array('createPackage.php'), 
    3144  ) 
     
    5366$p2->setPearinstallerDep($dep_pear); 
    5467 
    55 $p2->addMaintainer('lead', 'gordon', 'Gordon Franke', null, 'yes'); 
     68$p2->addMaintainer('lead', 'gimler', 'Gordon Franke', null, 'yes'); 
    5669 
    5770$p2->addPackageDepWithChannel( 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.