Skip to content

Commit a703f48

Browse files
committed
wip
1 parent f4ea5ce commit a703f48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,10 @@ function run(string $base, array $dirs, string $filename, array $ignore, array $
111111
'vendor/psr',
112112
];
113113

114+
if (!file_exists('composer.phar')) {
115+
$composer = file_get_contents('https://getcomposer.org/composer.phar');
116+
file_put_contents('composer.phar', $composer);
117+
exec('php composer.phar install');
118+
}
119+
114120
run(__DIR__, ['vendor', 'src'], 'api.php', $ignore, $priority);

0 commit comments

Comments
 (0)