From 1aaa69f2d723e6c03f310ae0b6fbf941859ae79a Mon Sep 17 00:00:00 2001 From: shmyga Date: Sun, 10 Nov 2019 17:14:36 +0300 Subject: [PATCH] [build] confiigure build dir --- config.example.json | 1 + gulpfile.js | 4 ++++ package.json | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.example.json b/config.example.json index ec816dc..1dd03de 100755 --- a/config.example.json +++ b/config.example.json @@ -1,5 +1,6 @@ { "SdkDir": "C:\\sdk", + "BuildDir": null, "PublishDir": "", "PublishUrl": "https://shmyga.ru/repo/tankz", "Develop": false, diff --git a/gulpfile.js b/gulpfile.js index 82f603d..be1975f 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -11,6 +11,10 @@ if (Config.SdkDir) { Sdk.dir = Config.SdkDir; } +if (Config.BuildDir) { + Haxe.buildDir = Config.BuildDir; +} + exports.clean = function clean() { return gulp.src('target/*', {read: false}).pipe(gulpClean()); }; diff --git a/package.json b/package.json index d83e6cd..380594b 100755 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "tankz", - "version": "0.17.5", + "version": "0.17.6", "private": true, "devDependencies": { "dateformat": "^3.0.3", "gulp": "^4.0.0", "gulp-add": "0.0.2", "gulp-clean": "^0.4.0", - "gulp-haxetool": "0.1.2", + "gulp-haxetool": "0.1.3", "yargs": "^13.2.4" }, "haxeDependencies": {