Permalink
Browse files

pear package generation fixed

  • Loading branch information...
1 parent 7301c5f commit 05021eec981ce39cde78e65bb434a26c1cb02a4b @DavertMik DavertMik committed Aug 22, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −4 bin/build_pear.php
  2. +1 −0 pearfarm.spec
View
@@ -7,9 +7,7 @@
chdir($root);
@mkdir("package/pear");
chdir('package/pear');
-
-// Clone from GitHub
-system('git clone git://github.com/Codeception/Codeception.git .');
+// Clone GitHub
// install Codeception from Composer
$composer = file_get_contents('http://getcomposer.org/installer');
@@ -36,7 +34,7 @@
// clean up
chdir($root.'/package');
-@system('del /s /q /F package/pear');
+@system('del /s /q /F pear');
@system('rd /s /q pear');
@system('rm -rf pear');
echo "\n\nPEAR BUILD SUCCESSFUL";
View
@@ -19,6 +19,7 @@ $spec = Pearfarm_PackageSpec::create(array(Pearfarm_PackageSpec::OPT_BASEDIR =>
->addExcludeFilesRegex('~package\/*~')
->addExcludeFilesRegex('~docs\/*~')
->addExcludeFilesRegex('~bin\/*~')
+ ->addFilesRegex('~vendor\/*~');
->addExecutable('codecept')
->addExecutable('codecept.bat')
;

0 comments on commit 05021ee

Please sign in to comment.