-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
4f1146a
commit 755c0b3
Showing
624 changed files
with
50,402 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
/* | ||
* This file is part of the Behat. | ||
* (c) Konstantin Kudryashov <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
define('BEHAT_PHP_BIN_PATH', getenv('PHP_PEAR_PHP_BIN') ?: '/usr/bin/env php'); | ||
define('BEHAT_BIN_PATH', __FILE__); | ||
define('BEHAT_VERSION', 'DEV'); | ||
|
||
if (is_dir($vendor = __DIR__.'/../vendor')) { | ||
require($vendor.'/autoload.php'); | ||
} elseif (is_dir($vendor = __DIR__.'/../../../../vendor')) { | ||
require($vendor.'/autoload.php'); | ||
} else { | ||
die( | ||
'You must set up the project dependencies, run the following commands:'.PHP_EOL. | ||
'curl -s http://getcomposer.org/installer | php'.PHP_EOL. | ||
'php composer.phar install'.PHP_EOL | ||
); | ||
} | ||
|
||
$app = new Behat\Behat\Console\BehatApplication(BEHAT_VERSION); | ||
$app->run(); |
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,19 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
define('PHPSPEC2_VERSION', '2.0.1-PREVIEW'); | ||
|
||
if (is_dir($vendor = __DIR__ . '/../vendor')) { | ||
require($vendor . '/autoload.php'); | ||
} elseif (is_dir($vendor = __DIR__ . '/../../../../vendor')) { | ||
require($vendor . '/autoload.php'); | ||
} else { | ||
die( | ||
'You must set up the project dependencies, run the following commands:' . PHP_EOL . | ||
'curl -s http://getcomposer.org/installer | php' . PHP_EOL . | ||
'php composer.phar install' . PHP_EOL | ||
); | ||
} | ||
|
||
$app = new PHPSpec2\Console\Application(PHPSPEC2_VERSION); | ||
$app->run(); |
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,17 @@ | ||
{ | ||
"require-dev": { | ||
"phpspec/phpspec2": "dev-develop", | ||
"behat/behat": "2.4.*@stable", | ||
"behat/mink-extension": "*" | ||
}, | ||
"config": { | ||
"bin-dir": "bin" | ||
}, | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"psr-0": { | ||
"spec": "", | ||
"": "src" | ||
} | ||
} | ||
} |
Oops, something went wrong.