Skip to content

Commit 60c5fde

Browse files
author
Anton Medvedev
committed
Move build script to root dir.
1 parent b32b7f7 commit 60c5fde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/dep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if (is_file($deployFile) && is_readable($deployFile)) {
6262
// Self-update command
6363
$selfUpdate = new \KevinGH\Amend\Command('self-update');
6464
$selfUpdate->setDescription('Updates deployer.phar to the latest version');
65-
$selfUpdate->setManifestUri('https://deployer.org/manifest.json');
65+
$selfUpdate->setManifestUri('http://deployer.org/manifest.json');
6666
$console->add($selfUpdate);
6767
$console->getHelperSet()->set(new \KevinGH\Amend\Helper());
6868

bin/build renamed to build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env php
22
<?php
3-
require __DIR__ . '/../vendor/autoload.php';
3+
require __DIR__ . '/vendor/autoload.php';
44

55
$pharName = "deployer.phar";
66
$pharFile = __DIR__ . '/' . $pharName;
@@ -34,7 +34,7 @@ foreach ($finder as $fileInfo) {
3434
}
3535

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

0 commit comments

Comments
 (0)