From 424c5f4d9458ed4af62740fe5d200ad24b8972d9 Mon Sep 17 00:00:00 2001 From: lanterngamescn Date: Thu, 25 Jun 2026 06:59:12 +0800 Subject: [PATCH] =?UTF-8?q?M0:=20=E5=BF=BD=E7=95=A5=20hvigor=20=E7=94=9F?= =?UTF-8?q?=E6=88=90=E7=89=A9=20BuildProfile.ets=EF=BC=88=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=BB=93=E5=BA=93=E5=B9=B2=E5=87=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 4 +++- common/BuildProfile.ets | 17 ----------------- contracts/BuildProfile.ets | 17 ----------------- domain_resource/BuildProfile.ets | 17 ----------------- feature_bridge/BuildProfile.ets | 17 ----------------- feature_capabilities/BuildProfile.ets | 17 ----------------- platform/BuildProfile.ets | 17 ----------------- 7 files changed, 3 insertions(+), 103 deletions(-) delete mode 100644 common/BuildProfile.ets delete mode 100644 contracts/BuildProfile.ets delete mode 100644 domain_resource/BuildProfile.ets delete mode 100644 feature_bridge/BuildProfile.ets delete mode 100644 feature_capabilities/BuildProfile.ets delete mode 100644 platform/BuildProfile.ets diff --git a/.gitignore b/.gitignore index d2ff201..3816829 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ /.clang-format /.clang-tidy **/.test -/.appanalyzer \ No newline at end of file +/.appanalyzer +**/BuildProfile.ets +/oh_modules/.ohpm \ No newline at end of file diff --git a/common/BuildProfile.ets b/common/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/common/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/contracts/BuildProfile.ets b/contracts/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/contracts/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/domain_resource/BuildProfile.ets b/domain_resource/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/domain_resource/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/feature_bridge/BuildProfile.ets b/feature_bridge/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/feature_bridge/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/feature_capabilities/BuildProfile.ets b/feature_capabilities/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/feature_capabilities/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/platform/BuildProfile.ets b/platform/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/platform/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file