Create develop.md

This commit is contained in:
Jason
2022-07-29 11:52:43 +08:00
committed by GitHub
parent fc83115320
commit 8b4dce561d

14
docs/develop.md Normal file
View File

@@ -0,0 +1,14 @@
# 代码提交说明
FastDeploy使用clang-format, cpplint检查和格式化代码提交代码前需安装pre-commit
```
git clone https://github.com/PaddlePaddle/FastDeploy.git
cd FastDeploy
git checkout develop
pip install pre-commit
pip install yapf
pip install cpplint
pre-commit install
```
commit代码时若提示无法找到clang-format请自行安装clang-format