Skip to content

Commit

Permalink
rename pdsskeleton to pds-skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Jan 8, 2017
1 parent 20adda9 commit fc7d209
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
25 changes: 25 additions & 0 deletions bin/pds-skeleton
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env php
<?php
$autoload = null;

$autoloadFiles = [
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php'
];

foreach ($autoloadFiles as $autoloadFile) {
if (file_exists($autoloadFile)) {
$autoload = $autoloadFile;
break;
}
}

if (! $autoload) {
echo "Autoload file not found; try 'composer install' first." . PHP_EOL;
exit(1);
}

require $autoload;

$console = new \Pds\Skeleton\Console();
$console->execute($argv);
20 changes: 0 additions & 20 deletions bin/pdsskeleton

This file was deleted.

0 comments on commit fc7d209

Please sign in to comment.