Misc fixes
This commit is contained in:
@ -1,7 +1,12 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require_once __DIR__."/../vendor/autoload.php";
|
||||
if (file_exists(__DIR__."/../vendor"))
|
||||
require_once __DIR__."/../vendor/autoload.php";
|
||||
elseif (file_exists(__DIR__."/../../../vendor"))
|
||||
require_once __DIR__."/../../../vendor/autoload.php";
|
||||
else
|
||||
die("Could not locate composer vendor/autoload.php");
|
||||
|
||||
define("PHARLITE_VERSION", "0.1.x");
|
||||
|
||||
@ -80,4 +85,4 @@ if (false === parse_opts()) {
|
||||
$path = getcwd();
|
||||
|
||||
$builder = new PharLite\Builder($path, $opts);
|
||||
$builder->build();
|
||||
$builder->build();
|
||||
|
Reference in New Issue
Block a user