forked from TYPO3/Surf
-
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.
[TASK] Move binaries in bin folder and rename tests folder (TYPO3#330)
- Loading branch information
1 parent
13ac3cf
commit a313c3b
Showing
65 changed files
with
74 additions
and
40 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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
.idea/ | ||
phpunit.xml | ||
vendor/ | ||
phpunit.xml | ||
.php_cs.cache | ||
.php_cs | ||
# The Api reference is auto generated and should not be part of the repository | ||
/Documentation-GENERATED-temp | ||
sphpdox.phar | ||
_Output/ | ||
Documentation/.doctrees | ||
bin/ |
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,33 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
requireAutoloader(); | ||
|
||
$app = new \Symfony\Component\Console\Application('TYPO3 Surf', '1.0.0'); | ||
$app->add(new \TYPO3\Surf\Command\ReleaseCommand()); | ||
$app->setDefaultCommand('release'); | ||
$app->run(); | ||
|
||
function requireAutoloader() | ||
{ | ||
$autoloadPaths = [ | ||
// Package was included as a library | ||
__DIR__ . '/../../../autoload.php', | ||
// Local package usage | ||
__DIR__ . '/../vendor/autoload.php', | ||
// Local package in packages folder | ||
__DIR__ . '/../../../vendor/autoload.php', | ||
]; | ||
foreach ($autoloadPaths as $path) { | ||
if (file_exists($path)) { | ||
/** @noinspection PhpIncludeInspection */ | ||
return file_exists($path) && include $path; | ||
} | ||
} | ||
|
||
$msg = 'You must set up the project dependencies, run the following commands:' . PHP_EOL . | ||
'curl -sS https://getcomposer.org/installer | php' . PHP_EOL . | ||
'php composer.phar install' . PHP_EOL; | ||
fwrite(STDERR, $msg); | ||
exit(1); | ||
} |
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,32 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
requireAutoloader(); | ||
|
||
$app = new \TYPO3\Surf\Cli\Symfony\ConsoleApplication('TYPO3 Surf', '3.0.0-alpha'); | ||
$app->setFactory(new \TYPO3\Surf\Integration\Factory()); | ||
$app->run(); | ||
|
||
function requireAutoloader() | ||
{ | ||
$autoloadPaths = [ | ||
// Package was included as a library | ||
__DIR__ . '/../../../autoload.php', | ||
// Local package usage | ||
__DIR__ . '/../vendor/autoload.php', | ||
// Local package in packages folder | ||
__DIR__ . '/../../../vendor/autoload.php', | ||
]; | ||
foreach ($autoloadPaths as $path) { | ||
if (file_exists($path)) { | ||
/** @noinspection PhpIncludeInspection */ | ||
return file_exists($path) && include $path; | ||
} | ||
} | ||
|
||
$msg = 'You must set up the project dependencies, run the following commands:' . PHP_EOL . | ||
'curl -sS https://getcomposer.org/installer | php' . PHP_EOL . | ||
'php composer.phar install' . PHP_EOL; | ||
fwrite(STDERR, $msg); | ||
exit(1); | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.