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