File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ let package = Package(
2222 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
2323 // Targets can depend on other targets in this package, and on products in packages which this package depends on.
2424 . target(
25- name: " Mint " ,
25+ name: " mint " ,
2626 dependencies: [
2727 " MintKit " ,
2828 " Rainbow " ,
@@ -37,6 +37,6 @@ let package = Package(
3737 ] ) ,
3838 . testTarget(
3939 name: " MintTests " ,
40- dependencies: [ " Mint " ] ) ,
40+ dependencies: [ " MintKit " ] ) ,
4141 ]
4242)
Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ Make sure Xcode 9 is installed first.
3535### Homebrew
3636
3737``` sh
38- $ brew tap yonaskolb/mint https://github.com/yonaskolb/mint .git
38+ $ brew tap yonaskolb/Mint https://github.com/yonaskolb/Mint .git
3939$ brew install mint
4040```
4141
4242### Make
4343
4444``` sh
45- $ git clone https://github.com/yonaskolb/mint .git
46- $ cd mint
45+ $ git clone https://github.com/yonaskolb/Mint .git
46+ $ cd Mint
4747$ make
4848```
4949
@@ -52,18 +52,17 @@ $ make
5252** Use CLI**
5353
5454``` sh
55- $ git clone https://github.com/yonaskolb/mint.git
56- $ cd mint
57- $ swift build --configuration release
58- $ ./build/release/mint
55+ $ git clone https://github.com/yonaskolb/Mint.git
56+ $ cd Mint
57+ $ swift run mint
5958```
6059
6160** Use as dependency**
6261
6362Add the following to your Package.swift file's dependencies:
6463
6564``` swift
66- .package (url : " https://github.com/yonaskolb/mint .git" , from : " 0.1.0" ),
65+ .package (url : " https://github.com/yonaskolb/Mint .git" , from : " 0.1.0" ),
6766```
6867
6968And then import wherever needed: ` import MintKit `
File renamed without changes.
You can’t perform that action at this time.
0 commit comments