mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-29 18:57:41 +08:00
feat: add devops build
This commit is contained in:
parent
4dbbb7a234
commit
cc0c35db13
@ -1260,10 +1260,18 @@ function pre_build_dgiot() {
|
||||
cd ${script_dir}
|
||||
rm ${script_dir}/$plugin/_build/emqx/rel/ -rf
|
||||
|
||||
if [ ! -d ${script_dir}/iotEdit/dist ]; then
|
||||
build_iotEdit
|
||||
fi
|
||||
|
||||
if [ -d ${script_dir}/iotView/dist ]; then
|
||||
cp ${script_dir}/iotView/dist/ ${script_dir}/$plugin/apps/dgiot_api/priv/www/ -rf
|
||||
fi
|
||||
|
||||
if [ ! -d ${script_dir}/iotEdit/dist ]; then
|
||||
build_iotView
|
||||
fi
|
||||
|
||||
if [ -d ${script_dir}/iotEdit/dist ]; then
|
||||
rm ${script_dir}/$plugin/_build/emqx/lib/dgiot_api -rf
|
||||
rm ${script_dir}/$plugin/apps/dgiot_api/priv/www/ -rf
|
||||
@ -1481,8 +1489,6 @@ function devops() {
|
||||
#一键式开发环境
|
||||
install_node
|
||||
install_erlang_otp
|
||||
build_iotEdit
|
||||
build_iotView
|
||||
pre_build_dgiot
|
||||
make
|
||||
post_build_dgiot
|
||||
|
Loading…
Reference in New Issue
Block a user