-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathminion
More file actions
executable file
·23 lines (18 loc) · 479 Bytes
/
minion
File metadata and controls
executable file
·23 lines (18 loc) · 479 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env php
<?php
/**
* @author Abed Halawi <abed.halawi@vinelab.com>
*/
if (version_compare(phpversion(), '5.4', '<')) {
fwrite(STDERR, "PHP needs to be a minimum version of PHP 5.4\n");
exit(1);
}
// installed via composer?
if (file_exists($a = __DIR__.'/../../autoload.php')) {
require_once $a;
} else {
require_once __DIR__.'/vendor/autoload.php';
}
use Vinelab\Minion\Console\Application;
$application = new Application();
$application->run();