From 8bd119a81876cb23fab3c95b04f711e9f8664bad Mon Sep 17 00:00:00 2001 From: pvincent Date: Mon, 30 Aug 2021 18:30:00 +0400 Subject: [PATCH] maintain --- lang/master/tpl/maintain.mtt | 4 ++-- src/App.hx | 8 -------- src/sugoi/BaseApp.hx | 1 - 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/lang/master/tpl/maintain.mtt b/lang/master/tpl/maintain.mtt index af51940..7f763f6 100644 --- a/lang/master/tpl/maintain.mtt +++ b/lang/master/tpl/maintain.mtt @@ -1,4 +1,4 @@ -::use 'design.mtt':: +

@@ -14,4 +14,4 @@

-::end:: + diff --git a/src/App.hx b/src/App.hx index 9334091..ea92c1f 100755 --- a/src/App.hx +++ b/src/App.hx @@ -1,5 +1,4 @@ import db.User; -import thx.semver.Version; import Common; class App extends sugoi.BaseApp { @@ -10,13 +9,6 @@ class App extends sugoi.BaseApp { public var eventDispatcher:hxevents.Dispatcher; public var plugins:Array; - /** - * Version management - * @doc https://github.com/fponticelli/thx.semver - */ - // public static var VERSION = ([0,9,2] : Version).withPre("july"); - // public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitShortSHA(), MyMacros.getGitCommitDate()); - // public static var VERSION = "cagette-péi " + MyMacros.getGitCommitDate(); public static var VERSION = "cagette-pei"; // empty yet, cf.BaseApp.loadConfig public function new() { diff --git a/src/sugoi/BaseApp.hx b/src/sugoi/BaseApp.hx index 573d989..51396a1 100644 --- a/src/sugoi/BaseApp.hx +++ b/src/sugoi/BaseApp.hx @@ -45,7 +45,6 @@ class BaseApp { var PATH = Web.getCwd() + "../"; var json = haxe.Json.parse(sys.io.File.getContent(PATH + "package.json")); App.VERSION = json.version; - App.log('configuration has been reloaded, VERSION=${App.VERSION}'); }