File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed
Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
3243FengNiao 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
4047Just navigate to your project folder, then:
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import Rainbow
2929import FengNiaoKit
3030import PathKit
3131
32- let appVersion = " 0.7.0 "
32+ let appVersion = " 0.8.1 "
3333
3434#if os(Linux)
3535let EX_OK : Int32 = 0
You can’t perform that action at this time.
0 commit comments