[gulp] added editor to default task

This commit is contained in:
2018-04-25 16:13:33 +03:00
parent 914a4dcf3b
commit 61852ab47e

View File

@@ -56,11 +56,13 @@ const config = new Project.Config({
* client
*/
const client = new Project(
Project.BuildSystem.OPENFL,[
Project.BuildSystem.OPENFL,
[
Project.Platform.FLASH,
Project.Platform.HTML5,
Project.Platform.LINUX,
], config.branch({
],
config.branch({
name: 'client',
sources: ['src/client/haxe'],
assets: ['src/client/resources'],
@@ -72,13 +74,14 @@ const client = new Project(
* editor
*/
const editor = new Project(
Project.BuildSystem.OPENFL, [
Project.Platform.FLASH
], config.branch({
Project.BuildSystem.OPENFL,
Project.Platform.FLASH,
config.branch({
name: 'editor',
sources: ['src/client/haxe', 'src/editor/haxe'],
assets: ['src/client/resources'],
main: 'ru.m.tankz.editor.Editor',
meta: {filename: 'editor'}
})
).bind(module, gulp);
@@ -86,9 +89,9 @@ const editor = new Project(
* server
*/
const server = new Project(
Project.BuildSystem.HAXE, [
Project.Platform.NEKO
], config.branch({
Project.BuildSystem.HAXE,
Project.Platform.NEKO,
config.branch({
name: 'server',
sources: ['src/server/haxe'],
main: 'ru.m.tankz.server.Server',
@@ -105,6 +108,7 @@ module.exports.default = gulp.series(
module.exports['client:flash:build'],
module.exports['client:html5:build'],
module.exports['client:linux:build'],
module.exports['editor:flash:build'],
module.exports['server:neko:build'],
module.exports['client:flash:pack'],
module.exports['client:linux:pack'],