-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Dec 27, 2011
1 parent
a450c34
commit 6423e56
Showing
5 changed files
with
73 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
require_once __DIR__.'/../autoload.php'; | ||
$version = \Codeception\Codecept::VERSION; | ||
|
||
chdir(__DIR__.'/../'); | ||
system('pearfarm build'); | ||
@mkdir("package/pear"); | ||
system('git clone git@github.com:Codeception/pear.git package/pear/'); | ||
system('git branch gh-pages'); | ||
system('pirum add package/pear Codeception-'.$version.'.tgz'); | ||
@unlink("Codeception-$version.tgz"); | ||
chdir('package/pear'); | ||
system('git add .'); | ||
system('git commit -m="version '.$version.'"'); | ||
system('git push origin gh-pages'); | ||
chdir('..'); | ||
sleep(2); | ||
@system('del /s /q /F pear'); | ||
@system('rd /s /q pear'); | ||
@system('rm -rf pear'); | ||
echo "\n\nPEAR BUILD SUCCESSFUL"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
require_once __DIR__.'/autoload.php'; | ||
$version = \Codeception\Codecept::VERSION; | ||
|
||
$spec = Pearfarm_PackageSpec::create(array(Pearfarm_PackageSpec::OPT_BASEDIR => dirname(__FILE__))) | ||
->setName('Codeception') | ||
->setChannel('davertmik.github.com/pear') | ||
->setSummary('Full-stack PHP testing BDD framework.') | ||
->setDescription('Codeception is new PHP full-stack testing framework. Inspired by BDD, it provides you absolutely new way for writing acceptance, functional and even unit tests. Powered by PHPUnit 3.6.') | ||
->setReleaseVersion($version) | ||
->setReleaseStability('stable') | ||
->setApiVersion($version) | ||
->setApiStability('stable') | ||
->setLicense(Pearfarm_PackageSpec::LICENSE_MIT) | ||
->setNotes('Initial release.') | ||
->addMaintainer('lead', 'Michael Bodnarchuk', 'DavertMik', 'davert@mail.ua') | ||
->addGitFiles() | ||
->addExcludeFilesRegex('~tests\/*~') | ||
->addExcludeFilesRegex('~package\/*~') | ||
->addExcludeFilesRegex('~docs\/*~') | ||
->addExcludeFilesRegex('~bin\/*~') | ||
->addExecutable('codecept') | ||
->addExecutable('codecept.bat') | ||
; |