From 68b9aa485472725270216809e4edda74562659fd Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Thu, 17 Oct 2024 23:43:08 +0200 Subject: [PATCH] Fix code style --- bin/build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/build b/bin/build index 30d9b9808..fe821a665 100755 --- a/bin/build +++ b/bin/build @@ -71,9 +71,11 @@ foreach ($iterator as $fileInfo) { // Add schema.json echo "Add file: /src/schema.json\n"; $phar->addFile(realpath(__DIR__ . '/../src/schema.json'), '/src/schema.json'); + // Add Caddyfile -echo "Add file: /Caddyfile\n"; +echo "Add file: /recipe/provision/Caddyfile\n"; $phar->addFile(realpath(__DIR__ . '/../recipe/provision/Caddyfile'), '/recipe/provision/Caddyfile'); + // Add bin/dep file echo "Add file: /bin/dep\n"; $depContent = file_get_contents(__ROOT__ . '/bin/dep'); @@ -81,6 +83,7 @@ $depContent = str_replace("#!/usr/bin/env php\n", '', $depContent); $depContent = str_replace('__FILE__', 'str_replace("phar://", "", Phar::running())', $depContent); $depContent = preg_replace("/run\('.+?'/", "run('$version'", $depContent); $phar->addFromString('bin/dep', $depContent); + $phar->setStub( <<