We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7ead1 commit f2efa33Copy full SHA for f2efa33
build.php
@@ -2,7 +2,15 @@
2
3
// Check we have dev tools
4
if ( !file_exists( __DIR__ . '/vendor/bin/php-generate-autoload' ) ) {
5
- echo "Please install dev tools with:\n\n$ composer install\n";
+ echo "Please install dev tools with:\n";
6
+ echo "$ composer install\n";
7
+ exit(1);
8
+ }
9
+
10
+ // Check we can write phar
11
+ if ( !Phar::canWrite() ) {
12
+ echo "Can not write phar please run build script with:\n";
13
+ echo "$ php -d phar.readonly=0 {$argv[0]}\n";
14
exit(1);
15
}
16
0 commit comments