Difference between revisions of "WesnothRepository"

From The Battle for Wesnoth Wiki
m (Download)
m
Line 9: Line 9:
 
==  Browse the code  ==
 
==  Browse the code  ==
  
You can use your web browser to navigate through the source code:
+
There are currently two main streams of development: trunk (1.1.x) and branch (1.0.x).  There is also a branch for a Python interface to the AI.  You can use your web browser to navigate through the source code:
  
 
http://svn.gna.org/viewcvs/wesnoth/
 
http://svn.gna.org/viewcvs/wesnoth/
Line 15: Line 15:
 
==  Download  ==
 
==  Download  ==
  
There are currently two main streams of development: trunk (1.1.x) and branch (1.0.x).  There is also a branch for a Python interface to the AI.  To check out trunk into a directory ''wesnoth'':
+
To check out trunk into a directory ''wesnoth'':
 
  svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth
 
  svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth
  

Revision as of 07:51, 12 November 2005

SVN

Wesnoth development currently uses the Subversion software tool to keep developers in sync with each other. See the SVN book for more on how to use Subversion.


Browse the code

There are currently two main streams of development: trunk (1.1.x) and branch (1.0.x). There is also a branch for a Python interface to the AI. You can use your web browser to navigate through the source code:

http://svn.gna.org/viewcvs/wesnoth/

Download

To check out trunk into a directory wesnoth:

svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth

or to check out the 1.0 branch into a directory wesnoth-1.0:

svn co http://svn.gna.org/svn/wesnoth/branches/1.0 wesnoth-1.0

More info on the repository: https://gna.org/svn/?group=wesnoth

Update

Do this from inside the wesnoth or wesnoth-1.0 directory where you checked out the repository:

svn update

Note that when you update from Subversion, you should always run 'autogen.sh' if configure.ac or any of the Makefile.am files were changed. It is safest to 'make clean' before updating, then run 'autogen.sh', 'configure' and 'make'.

You may be able to skip the 'autogen.sh' and the 'make clean' if the makefiles and configure.ac have not changed. If only minor changes were made then even the 'configure' step is optional.

See Also