1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:34:04 +00:00
This commit is contained in:
Samuel Štancl 2019-08-16 22:09:01 +02:00
commit a92690cea8
61 changed files with 51214 additions and 0 deletions

19
tasks/bin.js Normal file
View file

@ -0,0 +1,19 @@
var hasbin = require('hasbin');
var fs = require('fs');
var path = require('path');
module.exports = {
path: function() {
if (fs.existsSync('./vendor/bin/jigsaw')) {
return path.normalize('./vendor/bin/jigsaw')
}
if (hasbin.sync('jigsaw')) {
return 'jigsaw';
}
console.log('Could not find Jigsaw; please install it via Composer, either locally or globally.');
process.exit();
}
};