Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

pear package generation fixed

  • Loading branch information...
commit 05021eec981ce39cde78e65bb434a26c1cb02a4b 1 parent 7301c5f
@DavertMik DavertMik authored
Showing with 3 additions and 4 deletions.
  1. +2 −4 bin/build_pear.php
  2. +1 −0  pearfarm.spec
View
6 bin/build_pear.php
@@ -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
1  pearfarm.spec
@@ -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')
;
Please sign in to comment.
Something went wrong with that request. Please try again.