====== SwiftGit2 ======
Reference to [[https://github.com/SwiftGit2/SwiftGit2|SwiftGit2]]
===== - Build SwiftGit2 =====
==== - 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
* Install brew if necessary:
/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 **//git clone https://github.com/SwiftGit2/SwiftGit2.git //**
- Clone the submodules, run **//git submodule update --init --recursive//**
- Build in Xcode