From 6ef477091e75086641af6f51556873d012af7979 Mon Sep 17 00:00:00 2001 From: huangyicong Date: Fri, 6 May 2022 16:04:43 +0800 Subject: [PATCH] add bundle.json Signed-off-by: huangyicong --- bundle.json | 11 +++++------ file/bundle.json | 11 +++++------ js/builtin/bundle.json | 11 +++++------ kal/timer/bundle.json | 11 +++++------ memory/bundle.json | 11 +++++------ os_dump/bundle.json | 11 +++++------ timer_task/bundle.json | 11 +++++------ 7 files changed, 35 insertions(+), 42 deletions(-) diff --git a/bundle.json b/bundle.json index 7857800..d1faf3e 100644 --- a/bundle.json +++ b/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/utils_lite", "version": "3.1.0", + "license": "Apache License 2.0", "description": "Basic macro and type definitions", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/include" - ], "component": { "name": "utils_lite", "subsystem": "utils", diff --git a/file/bundle.json b/file/bundle.json index 79d5a94..454f69c 100644 --- a/file/bundle.json +++ b/file/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/file", "version": "3.1.0", + "license": "Apache License 2.0", "description": "", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/file" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/file" - ], "component": { "name": "file", "subsystem": "utils", diff --git a/js/builtin/bundle.json b/js/builtin/bundle.json index 9f2c0e9..b2a65e9 100644 --- a/js/builtin/bundle.json +++ b/js/builtin/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/js_builtin", "version": "3.1.0", + "license": "Apache License 2.0", "description": "ace related kits", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/js/builtin" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/js/builtin" - ], "component": { "name": "js_builtin", "subsystem": "utils", diff --git a/kal/timer/bundle.json b/kal/timer/bundle.json index 39ec669..4c3d420 100644 --- a/kal/timer/bundle.json +++ b/kal/timer/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/kal_timer", "version": "3.1.0", + "license": "Apache License 2.0", "description": "", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/kal/timer" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/kal/timer" - ], "component": { "name": "kal_timer", "subsystem": "utils", diff --git a/memory/bundle.json b/memory/bundle.json index dd52576..41c06cd 100644 --- a/memory/bundle.json +++ b/memory/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/memory", "version": "3.1.0", + "license": "Apache License 2.0", "description": "memory", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/memory" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/memory" - ], "component": { "name": "memory", "subsystem": "utils", diff --git a/os_dump/bundle.json b/os_dump/bundle.json index fb85c78..361eae8 100644 --- a/os_dump/bundle.json +++ b/os_dump/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/os_dump", "version": "3.1.0", + "license": "Apache License 2.0", "description": "Providing commands for dumping system property.", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/os_dump" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/os_dump" - ], "component": { "name": "os_dump", "subsystem": "utils", diff --git a/timer_task/bundle.json b/timer_task/bundle.json index f6372fc..341431c 100644 --- a/timer_task/bundle.json +++ b/timer_task/bundle.json @@ -1,17 +1,16 @@ { "name": "@openharmony/timer_task", "version": "3.1.0", + "license": "Apache License 2.0", "description": "ace timer kits", "publishAs": "code-segment", - "scripts": { - "install": "DEST_PATH=${DEP_BUNDLE_BASE}/utils/native/lite && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" + "segment": { + "destPath": "utils/native/lite/timer_task" }, + "dirs": {}, + "scripts": {}, "author": {}, "repository": "", - "license": "Apache License 2.0", - "dirs": [ - "utils/native/lite/timer_task" - ], "component": { "name": "timer_task", "subsystem": "utils", -- Gitee