Maurits van der Schee 6 years ago
parent
commit
a703f4898b
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      build.php

+ 6
- 0
build.php View File

@@ -111,4 +111,10 @@ $priority = [
111 111
     'vendor/psr',
112 112
 ];
113 113
 
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
+
114 120
 run(__DIR__, ['vendor', 'src'], 'api.php', $ignore, $priority);

Loading…
Cancel
Save