prebuild
Version:
A command line tool for easily making prebuilt binaries for multiple versions of node, electron or node-webkit on a specific platform
12 lines (9 loc) • 337 B
JavaScript
exports.noBuild = function (folder) {
return new Error('Could not find build in ' + folder)
}
exports.noRepository = function () {
return new Error('package.json is missing a repository field')
}
exports.spawnFailed = function (cmd, args, code) {
return new Error(cmd + ' ' + args.join(' ') + ' failed with exit code ' + code)
}