12 lines
416 B
JavaScript
12 lines
416 B
JavaScript
#!/usr/bin/env node
|
|
try {
|
|
require("grunt").npmTasks("grunt-compare-size").cli();
|
|
} catch(e) {
|
|
console.log(e.stack + "\n");
|
|
[ "An error occurred while loading grunt, please ensure that it has been",
|
|
"installed correctly before continuing. You can learn more about grunt",
|
|
"at the grunt project page, https://github.com/gruntjs/grunt/"
|
|
].forEach(function(s) { console.log(s); });
|
|
process.exit(31);
|
|
}
|