add landing page

This commit is contained in:
Samuel Štancl 2019-09-18 16:22:36 +02:00
parent 38593e61a2
commit ad38cd3982
113 changed files with 55463 additions and 13952 deletions

19
docs/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();
}
};