Changes between Version 2 and Version 3 of BuildInstructionsGettingTheCode
- Timestamp:
- Jun 26, 2020, 10:19:08 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructionsGettingTheCode
v2 v3 1 1 = Getting the code = 2 == Windows == 2 == Windows == 3 3 === Subversion (SVN) === 4 4 * Download and install [https://tortoisesvn.net/ TortoiseSVN]. (Make sure you reboot when it asks you to.) … … 9 9 == MacOS == 10 10 Both `Subversion (SVN)` and `Git` are installed by default on OSX and Mac OS, there is no need to download them. 11 11 12 == Linux == 12 13 === Subversion (SVN) === 13 14 You might need to have to install subversion for it to work. Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be: 15 14 16 {{{ 15 17 #!sh … … 17 19 sudo apt install subversion 18 20 }}} 19 20 21 === Git === 21 22 `Git` is usually present on modern distributions of Linux however you might need to install it in some cases. Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be: 23 22 24 {{{ 23 25 #!sh … … 25 27 sudo apt install git 26 28 }}} 27 28 29 == All platforms == 30 29 == All platforms == 31 30 You'll need approximatively **8GB** for a clean checkout, and a few more if you build and run the game. So try to have at least **20GB** free to be safe. 32 31 33 '''Note:''' 0 A.D. is primarily developed on `SVN`. However since we are using Arcanist and [wiki:Phabricator Phabricator], unless you have commit access you should never need to use `SVN` if you don't want to. You can use `Git` instead using mirrors, those may be slightly less up-to-date but usually offers faster downloads. Those mirrors are updated daily.32 '''Note:''' 0 A.D. is primarily developed on `SVN`. However since we are using Arcanist and [wiki:Phabricator], unless you have commit access you should never need to use `SVN` if you don't want to. You can use `Git` instead using mirrors, those may be slightly less up-to-date but usually offers faster downloads. Those mirrors are updated daily. 34 33 35 34 '''Important:''' Make sure that the checkout directory doesn't contain special characters (spaces or non-ASCII characters) … … 37 36 === Subversion (SVN) === 38 37 To checkout the latest code from `SVN`, run this command: 38 39 39 {{{ 40 40 #!sh … … 42 42 }}} 43 43 '''Note:''' This is the read-only public `SVN` URL. If you have commit access, you need to use this one instead: 44 44 45 {{{ 45 46 #!sh 46 47 svn co https://svn.wildfiregames.com/svn/ps/trunk/ 0ad 47 48 }}} 48 49 '''Note:''' Sometimes `SVN` stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run 49 '''Note:''' Sometimes `SVN` stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXXX`. Otherwise run 50 50 51 51 {{{ … … 54 54 svn up 0ad 55 55 }}} 56 57 56 === Git === 58 57 To use a `Git` mirror, use one of the following commands: … … 68 67 git clone https://gitlab.com/0ad/0ad.git 69 68 }}} 70 71 As of April 2020, the Git repo consumes about 10 GB of disk space. 72 Consider using `--depth=50` or something like that if you don't plan to compile previous versions. 69 As of April 2020, the Git repo consumes about 10 GB of disk space. Consider using `--depth=50` or something like that if you don't plan to compile previous versions.