Difference between revisions of "Getting the source"
(updated git link to https://github.com/Unvanquished/Unvanquished) |
(→Linux) |
||
Line 29: | Line 29: | ||
Use git on the command line: | Use git on the command line: | ||
− | $ git clone https://github.com/ | + | $ git clone https://github.com/Unvanquished/Unvanquished.git |
This will create a directory called <code>Unvanquished</code> in your home folder. | This will create a directory called <code>Unvanquished</code> in your home folder. |
Revision as of 22:12, 9 April 2012
Contents
Overview
Installing Git
If you already have Git installed, you can skip this step.
Windows
Windows users can acquire git from the MSysGit project. If you would prefer a graphical front-end, there is TortoiseGit, but regardless MSysGit must be installed.
Mac OS X
Apple has included Git with Xcode since version 4. You may download Xcode from Apple's developer website.
Linux
Debian & Ubuntu
Install git using the package manager:
$ sudo apt-get install git
Downloading the source
The Unvanquished source code is hosted on GitHub. You can either download a snapshot of the source code using the "ZIP" link, or you can use git to clone the repository.
Linux
Use git on the command line:
$ git clone https://github.com/Unvanquished/Unvanquished.git
This will create a directory called Unvanquished
in your home folder.
Mac OS X
Command Line
Acquiring the source code using the command line is the same as on Linux. Just open a Terminal (/Applications/Utilities/Terminal) window and clone the source code like so:
$ git clone https://github.com/Unvanquished/Unvanquished.git
Xcode 4
- Start Xcode.
- Open the Organizer window (Window → Organizer or Shift+Command ⌘+2)
- Click the "Repositories" button on the top bar.
- Click the "+" button in the lower-left corner, and choose "Checkout or Clone Repository…".
- In the rollout sheet that appears, enter
https://github.com/Unvanquished/Unvanquished.git
into the "Location" field, and click "Next". - Enter "Unvanquished" into the "Name" field, ensure that the "Type" combo box is set to "Git", and click "Clone".
- You will be prompted where to save the repository. Choose a location and click "Clone".
Windows
TortoiseGIT
- Make and enter a new folder to store the source code in
- Right click the inside of the folder → Git Clone...
- In the Url textbox enter:
https://github.com/Unvanquished/Unvanquished.git
- Click ok.
Command Line
Open the MsysGit terminal and type:
$ git clone https://github.com/Unvanquished/Unvanquished.git
Compiling
After getting the source code, you can compile it.