Skip to content

Commit 13d008a

Browse files
committed
Fixed casing in Package.swift, etc.
1 parent f3ede25 commit 13d008a

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

‎Package.swift‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

‎README.md‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff 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

6362
Add 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

6968
And then import wherever needed: `import MintKit`

0 commit comments

Comments
 (0)