3 Star 1 Fork 1

Gitee 极速下载/GitUp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
Assets/Icons
Examples
GitUp
GitUpKit
Xcode-Configurations
appcasts
.clang-format
.editorconfig
.gitignore
.gitmodules
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
UPDATING-LIBGIT2.md
continuous-build.sh
format-source.sh
stable-build.sh
travis-build.sh
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/git-up/GitUp
克隆/下载
format-source.sh 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh -ex
# brew install clang-format
CLANG_FORMAT_VERSION=`clang-format -version | awk '{ print $3 }'`
if [[ "$CLANG_FORMAT_VERSION" < "11.0.0" ]]; then
echo "Unsupported clang-format version"
exit 1
fi
find "GitUpKit/Components" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUpKit/Core" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUpKit/Extensions" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUpKit/Interface" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUpKit/Utilities" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUpKit/Views" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUp/Application" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "GitUp/Tool" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
find "Examples" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i
echo "Done!"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/GitUp.git
git@gitee.com:mirrors/GitUp.git
mirrors
GitUp
GitUp
master

搜索帮助