Template:Obtaining The Source Code
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
and update it with:
git pull --rebase
If github is unavailable or slow, there is a mirror:
git://springrts.git.sourceforge.net/gitroot/springrts/springrts
Optional AI's
If you want to also compile the AI's, you have to type
git submodule sync
git submodule update --init
to update the submodules, you have to execute the same commands again.