UNPKG

211 Btext/coffeescriptView Raw
1path = require 'path'
2
3gulpfile = module
4
5while path.basename(gulpfile?.filename).toLowerCase() isnt 'gulpfile.js'
6 if gulpfile.parent?
7 gulpfile = gulpfile.parent
8 else
9 break
10
11module.exports = gulpfile
\No newline at end of file