Template:Obtaining The Source Code: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
add link to github & git guide
Abma (talk | contribs)
Line 18: Line 18:
Assuming the GIT command line client is installed, you can clone the repository with
Assuming the GIT command line client is installed, you can clone the repository with


<code><pre>git clone git://github.com/spring/spring.git</pre></code>
<code><pre>git clone git://github.com/spring/spring.git
git submodule init</pre></code>


and update it with:
and update it with:


<code><pre>git pull --rebase</pre></code>
<code><pre>git pull --rebase
git submodule sync
git submodule update
</pre></code>


If github is unavailable or slow, there is a mirror:
If github is unavailable or slow, there is a mirror:


<code>git://springrts.git.sourceforge.net/gitroot/springrts/springrts</code>
<code>git://springrts.git.sourceforge.net/gitroot/springrts/springrts</code>

Revision as of 18:33, 8 July 2011

Current

(For playing online)

Using Git is the recommended way to get the sources of the engine. In spite of, you can use the official tarballs to compile Spring without git.

Note: Do NOT use the zip-files from github, they are missing important data to compile Spring.

See Building spring for build instructions.

Development Sources from Git

(Bleeding-edge, unstable code for development and testing)

Spring project page at github (status page)

Git clone URL for the master repo:

git://github.com/spring/spring.git

This will also allow you to make a patch out of the changes you make to the code, and send it to one of the developers with repository access. If you are new to git and github, you may want to have a look at this guide to get you started.

Assuming the GIT command line client is installed, you can clone the repository with

git clone git://github.com/spring/spring.git
git submodule init

and update it with:

git pull --rebase
git submodule sync
git submodule update

If github is unavailable or slow, there is a mirror:

git://springrts.git.sourceforge.net/gitroot/springrts/springrts