Commit 79f8e5db authored by iOS-银 恭敬's avatar iOS-银 恭敬

增加卸载方法

parent 17bd281a
Pipeline #922 failed with stages
...@@ -31,6 +31,12 @@ pip install biplist --user ...@@ -31,6 +31,12 @@ pip install biplist --user
python setup.py python setup.py
``` ```
### 卸载方法
```
rm -rf ~/.git_template/hooks
```
### 功能控制是否开启 ### 功能控制是否开启
1. 配置统一xcode模板,默认开启(git config githooks.xcodetemplate "YES") 1. 配置统一xcode模板,默认开启(git config githooks.xcodetemplate "YES")
2. 自动格式化代码功能,由提交到仓库的.clang-format文件是否存在控制 2. 自动格式化代码功能,由提交到仓库的.clang-format文件是否存在控制
......
...@@ -99,7 +99,7 @@ def can_note_jira(): ...@@ -99,7 +99,7 @@ def can_note_jira():
#7.检查jira用户名 #7.检查jira用户名
if len(jira_user_name()) == 0 or len(jira_user_pwd()) == 0: if len(jira_user_name()) == 0 or len(jira_user_pwd()) == 0:
print "你没有为JIRA配置用户名或密码,请按照如下命令格式分别配置用户名和密码" print "你没有为JIRA配置用户名或密码,请按照如下命令格式分别配置用户名和密码"
print "git config --global jira.user \"xxx@56qq.com\"" print "git config --global jira.user \"xxx\""
print "git config --global jira.pwd \"xxxpwd\"" print "git config --global jira.pwd \"xxxpwd\""
exit(-1) exit(-1)
pass pass
......
...@@ -5,12 +5,14 @@ ...@@ -5,12 +5,14 @@
import notejira import notejira
import reviewboard import reviewboard
def main(): def main():
review_url = reviewboard.post_review_if_need() review_url = reviewboard.post_review_if_need()
notejira.note_jira_if_need(review_url) notejira.note_jira_if_need(review_url)
pass pass
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -11,14 +11,9 @@ import clangformat ...@@ -11,14 +11,9 @@ import clangformat
import statistics import statistics
# mail_to_list=['shuaipeng.wang@56qq.com']
mail_to_list=['app@quantgroup.com'] mail_to_list=['app@quantgroup.com']
# mail_host="mail.huochebang.com"
# mail_sender_name="githooks.ios@huochebang.com"
# mail_sender_pwd="chuth-7?7vephaJere"
mail_host="mail.quantgroup.cn" mail_host="mail.quantgroup.cn"
mail_sender_name="gongjing.yin@quantgroup.cn" mail_sender_name="gongjing.yin@quantgroup.cn"
mail_sender_pwd="Gongjing.2323" mail_sender_pwd="Gongjing.2323"
......
...@@ -8,9 +8,8 @@ ...@@ -8,9 +8,8 @@
<string>QuantGroupNo1..</string> <string>QuantGroupNo1..</string>
<key>project_paths</key> <key>project_paths</key>
<array> <array>
<string>/Users/QuantGroup/Desktop/办公/WorkSpace/CreditWallet</string> <string>/Users/QuantGroup/Desktop/Office/WorkSpace/CreditWallet</string>
<string>/Users/QuantGroup/Desktop/办公/WorkSpace/btlk-ios</string> <string>/Users/QuantGroup/Desktop/Office/WorkSpace/btlk-ios</string>
<string>/Users/QuantGroup/Desktop/办公/WorkSpace/TensorFlow</string>
<string></string> <string></string>
<string></string> <string></string>
<string></string> <string></string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment