forked from Codeception/Codeception
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pearfarm.spec
27 lines (26 loc) · 1.47 KB
/
pearfarm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
require_once __DIR__.'/autoload.php';
$version = \Codeception\Codecept::VERSION;
$spec = Pearfarm_PackageSpec::create(array(Pearfarm_PackageSpec::OPT_BASEDIR => dirname(__FILE__)))
->setName('Codeception')
->setChannel('codeception.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', '[email protected]')
->addGitFiles()
->addExcludeFilesRegex('~^tests\/*~')
->addExcludeFilesRegex('~^package\/*~')
->addExcludeFilesRegex('~^docs\/*~')
->addExcludeFilesRegex('~^bin\/*~')
->addFilesRegex('~^vendor.*php$~', Pearfarm_PackageSpec::ROLE_PHP)
->addFilesRegex('~^vendor.*js$~', Pearfarm_PackageSpec::ROLE_PHP)
->addFilesRegex('~^vendor.*dist$~', Pearfarm_PackageSpec::ROLE_PHP)
->addExecutable('codecept')
->addExecutable('codecept.bat')
;