stop people from patching babylon by building it

This commit is contained in:
Sebastian McKenzie
2015-12-24 03:58:52 +00:00
parent f0fd729883
commit c72ef3755a
6 changed files with 13 additions and 5 deletions

7
scripts/_util.js Normal file
View File

@@ -0,0 +1,7 @@
var fs = require("fs");
exports.updateMain = function (main) {
var pkg = require("../package.json");
pkg.main = main;
fs.writeFileSync(__dirname + "/../package.json", JSON.stringify(pkg, null, " "));
};