Skip to content

Commit 7fd538b

Browse files
committed
Update readme and version
1 parent b4f528d commit 7fd538b

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,5 @@ fastlane/test_output
101101
# End of https://www.gitignore.io/api/swift,osx
102102
/fengniao.sketch
103103

104-
.swiftpm
104+
.swiftpm
105+
.vscode

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,29 @@ FengNiao is a simple command-line util to deleting unused image resource files f
1919

2020
### Install
2121

22-
You need Swift Package Manager (as well as swift compiler) installed in your macOS; generally you are prepared if you have the latest Xcode installed.
22+
#### Mint
23+
24+
[Mint](https://github.com/yonaskolb/Mint) is a tool that installs and runs Swift command line tool packages. Make sure
25+
you have Xcode installed, then:
26+
27+
```sh
28+
> brew install mint
29+
> mint install onevcat/fengniao
30+
```
2331

2432
#### Compile from source
2533

2634
```bash
2735
> git clone https://github.com/onevcat/FengNiao.git
2836
> cd FengNiao
29-
> ./install.sh
37+
> swift build -c release
38+
39+
# Then copy the executable to your PATH, such as `/usr/local/bin`
40+
> sudo cp .build/release/FengNiao /usr/local/bin/fengniao
3041
```
3142

3243
FengNiao should be compiled, tested and installed into the `/usr/local/bin`.
3344

34-
#### Homebrew
35-
36-
You may want to install in from Homebrew. But for now it is not supported.
37-
3845
### Usage
3946

4047
Just navigate to your project folder, then:

Sources/FengNiao/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import Rainbow
2929
import FengNiaoKit
3030
import PathKit
3131

32-
let appVersion = "0.7.0"
32+
let appVersion = "0.8.1"
3333

3434
#if os(Linux)
3535
let EX_OK: Int32 = 0

0 commit comments

Comments
 (0)