blob: 6c472dd8a843bf8e4a12af78151c7656b4379dcd [file] [log] [blame]
var chromiumSrc = process.env.CHROMIUM_SRC;
module.exports = function(grunt) {
grunt.registerTask('check_chromium_src', "Internal task to store CHROMIUM_SRC env var into chromiumSrc", function() {
if (!chromiumSrc) {
grunt.fail.warn("Please set the CHROMIUM_SRC env var to the root of your chromium sources(ends in /src)");
} else {
grunt.log.writeln("CHROMIUM_SRC points to " + chromiumSrc.cyan);
}
});
}