How to use the opts function from grunt
Find comprehensive JavaScript grunt.opts code examples handpicked from public code repositorys.
GitHub: ystskm/node-grunt-runner

107 108 109 110 111 112 113 114 115
gr._current = NULL; gr._noerror = TRUE; // File base read var pkgfile = argv.opts.config || gr._packagef; if(fs.existsSync(pkgfile)) { grunt.config(Const.GruntPkg, grunt.file.readJSON(pkgfile)); }
grunt.file is the most popular function in grunt (372 examples)