User Tools

Site Tools


library:swift:swiftgit2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://github.com/SwiftGit2/SwiftGit2|SwiftGit2]] Reference to [[https://github.com/SwiftGit2/SwiftGit2|SwiftGit2]]
  
-- 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> <color #ed1c24> * Install brew if necessary:</color>
   /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"   /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
 +
 +
 +==== - 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 #22b14c>//git clone https://github.com/SwiftGit2/SwiftGit2.git //</color>**
 +  - Clone the submodules, run **<color #22b14c>//git submodule update --init --recursive//</color>**
 +  - Build in Xcode
  
library/swift/swiftgit2.1670470535.txt.gz · Last modified: 2022/12/08 11:35 by lhaosen