[common] udpate proto
This commit is contained in:
@@ -23,10 +23,16 @@ const prepare = (...targets) => function prepare() {
|
||||
return Promise.all(tasks);
|
||||
};
|
||||
|
||||
|
||||
const update = () => {
|
||||
return new Haxe().upgrade();
|
||||
};
|
||||
|
||||
const generate = () => function generate() {
|
||||
return new Haxe().haxelib([
|
||||
'run', 'protohx', 'generate', 'protohx.json'
|
||||
]);
|
||||
};
|
||||
|
||||
module.exports = prepare;
|
||||
module.exports.update = update;
|
||||
module.exports.generate = generate;
|
||||
|
||||
Reference in New Issue
Block a user