[gulp] update to gulp-haxetool 0.0.9
This commit is contained in:
14
gulpfile.js
14
gulpfile.js
@@ -16,13 +16,7 @@ exports.clean = function clean() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.generate = function generate() {
|
exports.generate = function generate() {
|
||||||
return new Haxe().haxelib([
|
return new Haxe().haxelib(['run', 'protohx', 'generate', 'protohx.json']);
|
||||||
'run', 'protohx', 'generate', 'protohx.json'
|
|
||||||
]);
|
|
||||||
};
|
|
||||||
|
|
||||||
exports.install = function install() {
|
|
||||||
return new Haxe().install(packageInfo.haxeDependencies);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -30,7 +24,6 @@ exports.install = function install() {
|
|||||||
* windows target
|
* windows target
|
||||||
* window exe package (innosetup)
|
* window exe package (innosetup)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const config = new Project.Config({
|
const config = new Project.Config({
|
||||||
meta: {
|
meta: {
|
||||||
title: 'Tank\'z',
|
title: 'Tank\'z',
|
||||||
@@ -66,7 +59,8 @@ const client = new Project(
|
|||||||
sources: ['src/client/haxe'],
|
sources: ['src/client/haxe'],
|
||||||
assets: ['src/client/resources'],
|
assets: ['src/client/resources'],
|
||||||
main: 'ru.m.tankz.Client',
|
main: 'ru.m.tankz.Client',
|
||||||
})
|
}),
|
||||||
|
module.exports.generate
|
||||||
).bind(module);
|
).bind(module);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -102,8 +96,6 @@ const server = new Project(
|
|||||||
*/
|
*/
|
||||||
module.exports.default = gulp.series(
|
module.exports.default = gulp.series(
|
||||||
exports.clean,
|
exports.clean,
|
||||||
exports.install,
|
|
||||||
exports.generate,
|
|
||||||
module.exports['client:flash:build'],
|
module.exports['client:flash:build'],
|
||||||
module.exports['client:html5:build'],
|
module.exports['client:html5:build'],
|
||||||
module.exports['client:linux:build'],
|
module.exports['client:linux:build'],
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
"gulp": "^4.0.0",
|
"gulp": "^4.0.0",
|
||||||
"gulp-clean": "^0.4.0",
|
"gulp-clean": "^0.4.0",
|
||||||
"gulp-haxetool": "^0.0.8"
|
"gulp-haxetool": "^0.0.9"
|
||||||
},
|
},
|
||||||
"haxeDependencies": {
|
"haxeDependencies": {
|
||||||
"lime": "6.0.1",
|
"lime": "6.0.1",
|
||||||
@@ -19,5 +19,8 @@
|
|||||||
"orm": "2.1.0",
|
"orm": "2.1.0",
|
||||||
"yield": "1.1.2",
|
"yield": "1.1.2",
|
||||||
"haxe-crypto": "0.0.7"
|
"haxe-crypto": "0.0.7"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"gulp-add": "0.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user