This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
library:swift:swiftgit2 [2022/12/08 11:35] lhaosen created |
library:swift:swiftgit2 [2022/12/09 19:50] (current) lhaosen [1.1 Required Tools] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Reference to [[https:// | Reference to [[https:// | ||
- | - Required Tools | + | ===== - Build SwiftGit2 ===== |
+ | |||
+ | |||
+ | ==== - Required Tools ==== | ||
To build SwiftGit2, you'll need the following tools installed locally: | To build SwiftGit2, you'll need the following tools installed locally: | ||
Line 15: | Line 19: | ||
brew install cmake libssh2 libtool autoconf automake pkg-config | brew install cmake libssh2 libtool autoconf automake pkg-config | ||
+ | |||
| | ||
<color #ed1c24> * Install brew if necessary:</ | <color #ed1c24> * Install brew if necessary:</ | ||
/bin/bash -c " | /bin/bash -c " | ||
+ | |||
+ | |||
+ | ==== - Optional Tools ==== | ||
+ | |||
+ | |||
+ | * SwiftLint | ||
+ | |||
+ | brew install SwiftLint | ||
+ | ==== - Building SwiftGit2 Manually ==== | ||
+ | |||
+ | If you want to build a copy of SwiftGit2 without Carthage, possibly for development: | ||
+ | |||
+ | - Clone SwiftGit2, run **<color # | ||
+ | - Clone the submodules, run **<color # | ||
+ | - Build in Xcode | ||