Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
5c70ea58
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5c70ea58
编写于
2月 28, 2023
作者:
H
Huo Linhe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: explorer packaging
上级
0c730ec4
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
0 deletion
+9
-0
packaging/tools/install.sh
packaging/tools/install.sh
+3
-0
packaging/tools/make_install.bat
packaging/tools/make_install.bat
+3
-0
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+2
-0
packaging/tools/remove.sh
packaging/tools/remove.sh
+1
-0
未找到文件。
packaging/tools/install.sh
浏览文件 @
5c70ea58
...
@@ -34,6 +34,7 @@ benchmarkName="taosBenchmark"
...
@@ -34,6 +34,7 @@ benchmarkName="taosBenchmark"
dumpName
=
"taosdump"
dumpName
=
"taosdump"
demoName
=
"taosdemo"
demoName
=
"taosdemo"
xname
=
"taosx"
xname
=
"taosx"
explorerName
=
"
${
clientName
}
-explorer"
clientName2
=
"taos"
clientName2
=
"taos"
serverName2
=
"taosd"
serverName2
=
"taosd"
...
@@ -214,6 +215,7 @@ function install_bin() {
...
@@ -214,6 +215,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
dumpName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
dumpName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
xname
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
xname
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
explorerName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/TDinsight.sh
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/TDinsight.sh
||
:
...
@@ -228,6 +230,7 @@ function install_bin() {
...
@@ -228,6 +230,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-sf
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-sf
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
dumpName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
dumpName
}
${
bin_link_dir
}
/
${
dumpName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
dumpName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
dumpName
}
${
bin_link_dir
}
/
${
dumpName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
xname
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
xname
}
${
bin_link_dir
}
/
${
xname
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
xname
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
xname
}
${
bin_link_dir
}
/
${
xname
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
explorerName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
explorerName
}
${
bin_link_dir
}
/
${
explorerName
}
||
:
[
-x
${
install_main_dir
}
/bin/TDinsight.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/TDinsight.sh
${
bin_link_dir
}
/TDinsight.sh
||
:
[
-x
${
install_main_dir
}
/bin/TDinsight.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/TDinsight.sh
${
bin_link_dir
}
/TDinsight.sh
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/make_install.bat
浏览文件 @
5c70ea58
...
@@ -70,6 +70,9 @@ if %Enterprise% == TRUE (
...
@@ -70,6 +70,9 @@ if %Enterprise% == TRUE (
if
exist
%binary_dir%
\\build\\bin\\taosx.exe
(
if
exist
%binary_dir%
\\build\\bin\\taosx.exe
(
copy
%binary_dir%
\\build\\bin\\taosx.exe
%target_dir%
>
nul
copy
%binary_dir%
\\build\\bin\\taosx.exe
%target_dir%
>
nul
)
)
if
exist
%binary_dir%
\\build\\bin\\taos
-explorer
.exe
(
copy
%binary_dir%
\\build\\bin\\taos
-explorer
.exe
%target_dir%
>
nul
)
if
exist
%binary_dir%
\\build\\bin\\tmq_sim.exe
(
if
exist
%binary_dir%
\\build\\bin\\tmq_sim.exe
(
copy
%binary_dir%
\\build\\bin\\tmq_sim.exe
%target_dir%
>
nul
copy
%binary_dir%
\\build\\bin\\tmq_sim.exe
%target_dir%
>
nul
)
)
...
...
packaging/tools/makepkg.sh
浏览文件 @
5c70ea58
...
@@ -89,11 +89,13 @@ else
...
@@ -89,11 +89,13 @@ else
${
build_dir
}
/bin/tdengine-datasource.zip
\
${
build_dir
}
/bin/tdengine-datasource.zip
\
${
build_dir
}
/bin/tdengine-datasource.zip.md5sum"
${
build_dir
}
/bin/tdengine-datasource.zip.md5sum"
[
-f
${
build_dir
}
/bin/taosx
]
&&
taosx_bin
=
"
${
build_dir
}
/bin/taosx"
[
-f
${
build_dir
}
/bin/taosx
]
&&
taosx_bin
=
"
${
build_dir
}
/bin/taosx"
explorer_bin_files
=
$(
sh
-c
"ls
${
build_dir
}
/bin/*-explorer"
)
bin_files
=
"
${
build_dir
}
/bin/
${
serverName
}
\
bin_files
=
"
${
build_dir
}
/bin/
${
serverName
}
\
${
build_dir
}
/bin/
${
clientName
}
\
${
build_dir
}
/bin/
${
clientName
}
\
${
taostools_bin_files
}
\
${
taostools_bin_files
}
\
${
taosx_bin
}
\
${
taosx_bin
}
\
${
explorer_bin_files
}
\
${
build_dir
}
/bin/taosadapter
\
${
build_dir
}
/bin/taosadapter
\
${
build_dir
}
/bin/udfd
\
${
build_dir
}
/bin/udfd
\
${
script_dir
}
/remove.sh
\
${
script_dir
}
/remove.sh
\
...
...
packaging/tools/remove.sh
浏览文件 @
5c70ea58
...
@@ -119,6 +119,7 @@ function clean_bin() {
...
@@ -119,6 +119,7 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/TDinsight.sh
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/TDinsight.sh
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taoskeeper
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taoskeeper
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosx
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosx
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos-explorer
||
:
if
[
"
$verMode
"
==
"cluster"
]
&&
[
"
$clientName
"
!=
"
$clientName2
"
]
;
then
if
[
"
$verMode
"
==
"cluster"
]
&&
[
"
$clientName
"
!=
"
$clientName2
"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName2
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName2
}
||
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录