Skip to content

Commit

Permalink
Move build script to root dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Medvedev committed Jan 28, 2015
1 parent b32b7f7 commit 60c5fde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/dep
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (is_file($deployFile) && is_readable($deployFile)) {
// Self-update command
$selfUpdate = new \KevinGH\Amend\Command('self-update');
$selfUpdate->setDescription('Updates deployer.phar to the latest version');
$selfUpdate->setManifestUri('https://deployer.org/manifest.json');
$selfUpdate->setManifestUri('http://deployer.org/manifest.json');
$console->add($selfUpdate);
$console->getHelperSet()->set(new \KevinGH\Amend\Helper());

Expand Down
4 changes: 2 additions & 2 deletions bin/build → build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env php
<?php
require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/vendor/autoload.php';

$pharName = "deployer.phar";
$pharFile = __DIR__ . '/' . $pharName;
Expand Down Expand Up @@ -34,7 +34,7 @@ foreach ($finder as $fileInfo) {
}

// Add bin/dep file
$depContent = file_get_contents(__DIR__ . '/dep');
$depContent = file_get_contents(__DIR__ . '/bin/dep');
$depContent = str_replace("#!/usr/bin/env php\n", '', $depContent);
$phar->addFromString('bin/dep', $depContent);

Expand Down

0 comments on commit 60c5fde

Please sign in to comment.