From 44dd9a570e243f40f7a52252876e555bfdc48bac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?o=28=EF=BF=A3=E3=81=B8=EF=BF=A3=29o?= <514668826@qq.com>
Date: Mon, 23 Jul 2018 17:49:12 +0800
Subject: [PATCH] add usage of fastlane in README_CN.md

---
 README_CN.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/README_CN.md b/README_CN.md
index d884da13c4..de30f41b57 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -84,6 +84,28 @@ fi
 
 整合 SwiftLint 到 [Atom](https://atom.io/) 需要从 APM 安装 [`linter-swiftlint`](https://atom.io/packages/linter-swiftlint) 包。
 
+### fastlane
+
+你可以用[fastlane官方的SwiftLint功能](https://docs.fastlane.tools/actions/swiftlint)来运行SwiftLint作为你的Fastlane程序的一部分
+
+```ruby
+swiftlint(
+    mode: :lint,                            # SwiftLint模式: :lint (默认) 或者 :autocorrect
+    executable: "Pods/SwiftLint/swiftlint", # SwiftLint的程序路径 (可选的). 对于用CocoaPods集成SwiftLint时很重要
+    path: "/path/to/lint",                  # 特殊的检查路径 (可选的)
+    output_file: "swiftlint.result.json",   # 检查结果输出路径 (可选的)
+    reporter: "json",                       # 输出格式 (可选的)
+    config_file: ".swiftlint-ci.yml",       # 配置文件的路径 (可选的)
+    files: [                                # 指定检查文件列表 (可选的)
+        "AppDelegate.swift",
+        "path/to/project/Model.swift"
+    ],
+    ignore_exit_status: true,               # 允许fastlane可以继续执行甚至是Swiftlint返回一个非0的退出状态(默认值: false)
+    quiet: true,                            # 不输出像‘Linting’和‘Done Linting’的状态日志 (默认值: false)
+    strict: true                            # 发现警告时报错? (默认值: false)
+)
+```
+
 ### 命令行
 
 ```