first
This commit is contained in:
commit
5aa7d034f7
3292 changed files with 465160 additions and 0 deletions
23
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon
vendored
Executable file
23
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon
vendored
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use Carbon\Cli\Invoker;
|
||||
|
||||
$dir = __DIR__.'/..';
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../vendor';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../../..';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
echo 'Autoload not found.';
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require $dir.'/autoload.php';
|
||||
|
||||
exit((new Invoker())(...$argv) ? 0 : 1);
|
||||
4
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon.bat
vendored
Executable file
4
data/web/inc/lib/vendor/nesbot/carbon/bin/carbon.bat
vendored
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
@ECHO OFF
|
||||
setlocal DISABLEDELAYEDEXPANSION
|
||||
SET BIN_TARGET=%~dp0/carbon
|
||||
php "%BIN_TARGET%" %*
|
||||
Loading…
Add table
Add a link
Reference in a new issue