vendor/wikimedia/idle-dom/bin/idledom-build
raw| 1 | #!/usr/bin/env php |
| 2 | <?php declare(strict_types=1); |
| 3 | |
| 4 | if (file_exists(__DIR__ . '/../vendor/autoload.php')) { |
| 5 | require __DIR__ . '/../vendor/autoload.php'; |
| 6 | } elseif (file_exists(__DIR__ . '/../../../autoload.php')) { |
| 7 | require __DIR__ . '/../../../autoload.php'; |
| 8 | } else { |
| 9 | echo 'Project dependencies need to be installed using composer.'; |
| 10 | exit(1); |
| 11 | } |
| 12 | |
| 13 | \Wikimedia\IDLeDOM\Tools\Generator::main(); |