up dependencies versions
This commit is contained in:
@@ -3,10 +3,12 @@ const gulp = require('gulp');
|
|||||||
const gulpClean = require('gulp-clean');
|
const gulpClean = require('gulp-clean');
|
||||||
const Config = require('./config.json');
|
const Config = require('./config.json');
|
||||||
const packageInfo = require('./package.json');
|
const packageInfo = require('./package.json');
|
||||||
const {Sdk, Haxe, Project} = require('gulp-haxetool');
|
const {Sdk, Haxe, Project, FlashPlayer} = require('gulp-haxetool');
|
||||||
const dateformat = require('dateformat');
|
const dateformat = require('dateformat');
|
||||||
|
|
||||||
|
|
||||||
|
// ToDo: update default in gulp-haxetool
|
||||||
|
FlashPlayer.VERSION = '31';
|
||||||
if (Config.SdkDir) {
|
if (Config.SdkDir) {
|
||||||
Sdk.dir = Config.SdkDir;
|
Sdk.dir = Config.SdkDir;
|
||||||
}
|
}
|
||||||
@@ -68,7 +70,7 @@ const client = new Project(
|
|||||||
sources: ['src/client/haxe'],
|
sources: ['src/client/haxe'],
|
||||||
main: 'ru.m.tankz.Client',
|
main: 'ru.m.tankz.Client',
|
||||||
assets: ['src/client/resources'],
|
assets: ['src/client/resources'],
|
||||||
flags: ['bitmap_text'],
|
//flags: ['bitmap_text'],
|
||||||
}),
|
}),
|
||||||
module.exports.generate
|
module.exports.generate
|
||||||
).bind(module, gulp);
|
).bind(module, gulp);
|
||||||
|
|||||||
10
package.json
10
package.json
@@ -6,16 +6,16 @@
|
|||||||
"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.13"
|
"gulp-haxetool": "^0.0.14"
|
||||||
},
|
},
|
||||||
"haxeDependencies": {
|
"haxeDependencies": {
|
||||||
"lime": "6.0.1",
|
"haxework": "0.8.2",
|
||||||
"openfl": "7.0.0",
|
"lime": "7.1.1",
|
||||||
"hxcpp": "3.4.188",
|
"openfl": "8.5.1",
|
||||||
|
"hxcpp": "4.0.4",
|
||||||
"promhx": "1.1.0",
|
"promhx": "1.1.0",
|
||||||
"protohx": "0.4.6",
|
"protohx": "0.4.6",
|
||||||
"yaml": "1.3.0",
|
"yaml": "1.3.0",
|
||||||
"haxework": "git@bitbucket.org:shmyga/haxework.git",
|
|
||||||
"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"
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ class Const {
|
|||||||
public static var DEBUG:Bool;
|
public static var DEBUG:Bool;
|
||||||
|
|
||||||
public static function init():Void {
|
public static function init():Void {
|
||||||
FPS = Lib.current.stage.application.config.fps;
|
FPS = Std.parseInt(Lib.current.stage.application.meta.get("fps"));
|
||||||
BUILD = CompilationOption.get("build");
|
BUILD = CompilationOption.get("build");
|
||||||
VERSION = Lib.current.stage.application.config.version;
|
VERSION = Lib.current.stage.application.meta.get("version");
|
||||||
DEBUG = Capabilities.isDebugger;
|
DEBUG = Capabilities.isDebugger;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user