1 Star 0 Fork 0

TCATools/common-cobra-v2.0.0-alpha.5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 845 Bytes
一键复制 编辑 原始数据 按行查看 历史
yalechen 提交于 2021-11-09 12:51 +08:00 . init
#!/bin/bash
OS=`uname -s`
if [ ${OS} == "Darwin" ];then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install grep findutils flex
brew tap homebrew/cask
brew cask install phantomjs
elif [ ${OS} == "Linux" ];then
source /etc/os-release
case $ID in
debian|ubuntu|devuan)
sudo apt-get install flex bison phantomjs
;;
centos|fedora|rhel)
yumdnf="yum"
if test "$(echo "$VERSION_ID >= 22" | bc)" -ne 0;
then
yumdnf="dnf"
fi
sudo $yumdnf install -y flex bison phantomjs
;;
*)
exit 1
;;
esac
else
echo "Other OS: ${OS}"
fi
SHELL_FOLDER=$(dirname "$0")
pip3 install -r $SHELL_FOLDER/requirements.txt
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/TCATools/common-cobra-v2.0.0-alpha.5.git
git@gitee.com:TCATools/common-cobra-v2.0.0-alpha.5.git
TCATools
common-cobra-v2.0.0-alpha.5
common-cobra-v2.0.0-alpha.5
main

搜索帮助