[build] update to fulp-haxetool 0.0.6

This commit is contained in:
2018-04-06 16:29:45 +03:00
parent 2255a806b9
commit caae1216d0
3 changed files with 3 additions and 6 deletions

View File

@@ -1,2 +0,0 @@
const packageInfo = require('../package.json');
module.exports = packageInfo.version;

View File

@@ -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')}')`
]
});

View File

@@ -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();