[build] update to fulp-haxetool 0.0.6
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
const packageInfo = require('../package.json');
|
|
||||||
module.exports = packageInfo.version;
|
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
const gulp = require('gulp');
|
const gulp = require('gulp');
|
||||||
const clean = require('gulp-clean');
|
const clean = require('gulp-clean');
|
||||||
const Config = require('./config.json');
|
const Config = require('./config.json');
|
||||||
const version = require('./build/version');
|
|
||||||
const packageInfo = require('./package.json');
|
const packageInfo = require('./package.json');
|
||||||
const {Sdk, Haxe, Project} = require('gulp-haxetool');
|
const {Sdk, Haxe, Project} = require('gulp-haxetool');
|
||||||
const dateformat = require('dateformat');
|
const dateformat = require('dateformat');
|
||||||
@@ -44,14 +43,14 @@ const config = new Project.Config({
|
|||||||
title: 'Tank\'z',
|
title: 'Tank\'z',
|
||||||
pack: 'ru.m.tankz',
|
pack: 'ru.m.tankz',
|
||||||
company: 'MegaLoMania',
|
company: 'MegaLoMania',
|
||||||
version: version,
|
version: packageInfo.version,
|
||||||
},
|
},
|
||||||
libs: packageInfo.haxeDependencies,
|
libs: packageInfo.haxeDependencies,
|
||||||
sources: [
|
sources: [
|
||||||
'src/common/haxe',
|
'src/common/haxe',
|
||||||
'src-gen/haxe',
|
'src-gen/haxe',
|
||||||
],
|
],
|
||||||
macro: [
|
macros: [
|
||||||
`CompilationOption.set('build','${dateformat(new Date(), 'yyyy-mm-dd HH:MM:ss')}')`
|
`CompilationOption.set('build','${dateformat(new Date(), 'yyyy-mm-dd HH:MM:ss')}')`
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class Client {
|
|||||||
L.push(new JSLogger());
|
L.push(new JSLogger());
|
||||||
#end
|
#end
|
||||||
#if debug
|
#if debug
|
||||||
L.push(new SocketLogger());
|
//L.push(new SocketLogger());
|
||||||
#end
|
#end
|
||||||
Const.init();
|
Const.init();
|
||||||
Init.init();
|
Init.init();
|
||||||
|
|||||||
Reference in New Issue
Block a user