Skip to content

Commit f4e5524

Browse files
author
yixiang
committed
readme
1 parent 58e54c5 commit f4e5524

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/ChineseReadme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
包含两个subspec,一个是包含“日志显示”的“WithLogger” subspec
4545

4646
```
47-
pod 'DoraemonKit',:subspecs => ['WithLogger'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0'
47+
pod 'DoraemonKit/WithLogger', '~> 1.0.0'
4848
```
4949

5050
一个是不包含“日志显示”的“Core” subspec
5151

5252
```
53-
pod 'DoraemonKit',:subspecs => ['Core'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0'
53+
pod 'DoraemonKit/Core', '~> 1.0.0'
5454
```
5555

5656
默认引入“Core” subspec。

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ DoraemonKit contains two subspecs.
3939
One is the "WithLogger" subspec that contains the log display function based on ‘CocoaLumberjack’.
4040

4141
```
42-
pod 'DoraemonKit',:subspecs => ['WithLogger'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0'
42+
pod 'DoraemonKit/WithLogger', '~> 1.0.0'
4343
```
4444

4545
The other one is the "Core" subspec that does not contain the log display function.
4646

4747
```
48-
pod 'DoraemonKit',:subspecs => ['Core'], :git => "https://github.com/didi/DoraemonKit", :tag => '1.0.0'
48+
pod 'DoraemonKit/Core', '~> 1.0.0'
4949
```
5050

5151
The "Core" subspec is introduced by default.

0 commit comments

Comments
 (0)