1 Star 0 Fork 69

LuZon/SGPlayer

forked from Single/SGPlayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
compile-clean.sh 1009 Bytes
一键复制 编辑 原始数据 按行查看 历史
哦斗哦斗哦斗K 提交于 2017-04-07 16:00 . update build sh
#!/bin/bash
do_clean_framework_SGPlatform () {
echo "clean SGPlatform..."
if [ -d ".git" ]; then
echo "remove SGPlatform from git submodule."
git submodule deinit --all
fi
if [ -d "Vendors/SGPlatform/SGPlatform.xcodeproj" ]; then
echo "remove SGPlatform files."
rm -rf Vendors/SGPlatform
fi
echo "clean SGPlatform done."
}
do_clean_lib_ffmpeg () {
echo "clean lib ffmpeg..."
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-iOS" ]; then
echo "remove lib ffmpeg for iOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-iOS
fi
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-macOS" ]; then
echo "remove lib ffmpeg for macOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-macOS
fi
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS" ]; then
echo "remove lib ffmpeg for tvOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS
fi
echo "clean lib ffmpeg done."
}
do_clean_framework_SGPlatform
do_clean_lib_ffmpeg
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Objective-C
1
https://gitee.com/luZon/SGPlayer.git
git@gitee.com:luZon/SGPlayer.git
luZon
SGPlayer
SGPlayer
master

搜索帮助