-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathartisan
More file actions
28 lines (20 loc) · 655 Bytes
/
artisan
File metadata and controls
28 lines (20 loc) · 655 Bytes
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
28
#!/usr/bin/env php
<?php
require __DIR__.'/vendor/autoload.php';
use Litstack\Lang\LangCheckCommand;
use Litstack\Lang\LangUpdateReadmeCommand;
if (file_exists($a = __DIR__.'/../../autoload.php')) {
require_once $a;
} else {
require_once __DIR__.'/vendor/autoload.php';
}
$container = new Illuminate\Container\Container;
$dispatcher = new Illuminate\Events\Dispatcher;
$files = new Illuminate\Filesystem\Filesystem;
$version = '8.0'; // Laravel version
$app = new Illuminate\Console\Application(
$container, $dispatcher, $version
);
$app->add(new LangCheckCommand($files));
$app->add(new LangUpdateReadmeCommand($files));
$app->run();