Skip to content

Commit 50f06d3

Browse files
authored
Setup project (#29)
1 parent c05dbfc commit 50f06d3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

composer-diff

100644100755
File mode changed.

composer-diff.php

+11
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
}
3434
}
3535

36+
if (!defined('JBZOO_AUTOLOAD_FILE')) {
37+
fwrite(
38+
STDERR,
39+
'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL .
40+
' composer install' . PHP_EOL . PHP_EOL .
41+
'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL
42+
);
43+
44+
die(1);
45+
}
46+
3647
require_once JBZOO_AUTOLOAD_FILE;
3748

3849
$application = new CliApplication('JBZoo/Composer-Diff', '@git-version@');

0 commit comments

Comments
 (0)