dgiot/scripts/get-windashboard.sh

16 lines
325 B
Bash
Raw Normal View History

2021-05-22 02:06:00 +08:00
#!/usr/bin/env bash
set -euo pipefail
# ensure dir
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
2021-05-23 06:58:13 +08:00
if [ -d "_build" ];then
echo ""
2021-05-22 02:06:00 +08:00
else
2021-05-28 11:01:03 +08:00
# wget http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/_build.tar.gz -O _build.tar.gz
# tar xvf _build.tar.gz
echo "emqx_dashboard"
2021-05-22 02:06:00 +08:00
fi
echo "emqx_dashboard"