up version
This commit is contained in:
@@ -29,9 +29,9 @@ exports.generate = function generate() {
|
|||||||
|
|
||||||
exports.levels = function levels() {
|
exports.levels = function levels() {
|
||||||
return gulp.src("./src/common/level/*").pipe(foreach(function (stream, file) {
|
return gulp.src("./src/common/level/*").pipe(foreach(function (stream, file) {
|
||||||
const type = file.path.substr(file.path.lastIndexOf("/") + 1);
|
const type = file.path.substr(file.path.lastIndexOf(path.sep) + 1);
|
||||||
gulp.src("./src/common/level/" + type + "/*").pipe(foreach(function (stream, file) {
|
gulp.src("./src/common/level/" + type + "/*").pipe(foreach(function (stream, file) {
|
||||||
const name = file.path.substr(file.path.lastIndexOf("/") + 1);
|
const name = file.path.substr(file.path.lastIndexOf(path.sep) + 1);
|
||||||
gulp.src("./src/common/level/" + type + "/" + name + "/*")
|
gulp.src("./src/common/level/" + type + "/" + name + "/*")
|
||||||
.pipe(zip(`${type}_${name}.zip`))
|
.pipe(zip(`${type}_${name}.zip`))
|
||||||
.pipe(gulp.dest("./target/levels"));
|
.pipe(gulp.dest("./target/levels"));
|
||||||
@@ -109,7 +109,6 @@ const client = new Project(
|
|||||||
`CompilationOption.set('port',${port})`,
|
`CompilationOption.set('port',${port})`,
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
module.exports.generate
|
|
||||||
).bind(module, gulp);
|
).bind(module, gulp);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -152,7 +151,6 @@ const server = new Project(
|
|||||||
sources: ['src/server/haxe'],
|
sources: ['src/server/haxe'],
|
||||||
main: 'ru.m.tankz.server.Server',
|
main: 'ru.m.tankz.server.Server',
|
||||||
}),
|
}),
|
||||||
module.exports.generate
|
|
||||||
).bind(module, gulp);
|
).bind(module, gulp);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -188,6 +186,7 @@ exports.publish = function publish() {
|
|||||||
module.exports.default = gulp.series(
|
module.exports.default = gulp.series(
|
||||||
exports.clean,
|
exports.clean,
|
||||||
exports.levels,
|
exports.levels,
|
||||||
|
exports.generate,
|
||||||
module.exports['client:flash:build'],
|
module.exports['client:flash:build'],
|
||||||
module.exports['client:flash:html'],
|
module.exports['client:flash:html'],
|
||||||
module.exports['client:html5:build'],
|
module.exports['client:html5:build'],
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tankz",
|
"name": "tankz",
|
||||||
"version": "0.16.9",
|
"version": "0.16.10",
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
|
|||||||
@@ -74,5 +74,6 @@ views:
|
|||||||
geometry.width: 50%
|
geometry.width: 50%
|
||||||
- id: update
|
- id: update
|
||||||
$type: haxework.view.form.ButtonView
|
$type: haxework.view.form.ButtonView
|
||||||
|
style: button.active
|
||||||
+onPress: ~appUpdate()
|
+onPress: ~appUpdate()
|
||||||
visible: false
|
visible: false
|
||||||
|
|||||||
Reference in New Issue
Block a user