User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:swift:swiftgit2

This is an old revision of the document!


SwiftGit2

Reference to SwiftGit2

1. Required Tools

To build SwiftGit2, you'll need the following tools installed locally:

  • cmake
  • libssh2
  • libtool
  • autoconf
  • automake
  • pkg-config
brew install cmake libssh2 libtool autoconf automake pkg-config


* SwiftLint 
brew install SwiftLint 

* Install brew if necessary:

/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"

2. Building SwiftGit2 Manually

If you want to build a copy of SwiftGit2 without Carthage, possibly for development:

  1. Clone SwiftGit2
  2. Run git submodule update –init –recursive to clone the submodules
  3. Build in Xcode
library/swift/swiftgit2.1670481756.txt.gz · Last modified: 2022/12/08 14:42 by lhaosen