Changes between Version 6 and Version 7 of BuildInstructionsGettingTheCode
- Timestamp:
- Feb 23, 2024, 7:59:06 AM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructionsGettingTheCode
v6 v7 1 1 = Getting the code = 2 2 == Windows == 3 === Git === 4 * Download and install [https://tortoisegit.org/ TortoiseGit]. (Make sure you reboot when it asks you to.) 3 5 === Subversion (SVN) === 4 6 * Download and install [https://tortoisesvn.net/ TortoiseSVN]. (Make sure you check the "command line client tools" option and reboot when it asks you to.) 5 6 === Git ===7 * Download and install [https://tortoisegit.org/ TortoiseGit]. (Make sure you reboot when it asks you to.)8 7 9 8 == macOS == … … 21 20 22 21 == Linux == 22 === Git === 23 `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: 24 25 {{{ 26 #!sh 27 sudo apt update 28 sudo apt install git 29 }}} 23 30 === Subversion (SVN) === 24 31 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: … … 29 36 sudo apt install subversion 30 37 }}} 31 === Git ===32 `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:33 34 {{{35 #!sh36 sudo apt update37 sudo apt install git38 }}}39 38 == All platforms == 40 39 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. … … 43 42 44 43 '''Important:''' Make sure that the checkout directory doesn't contain special characters (spaces or non-ASCII characters) 44 === Git === 45 To use a `Git` mirror, use one of the following commands: 45 46 47 {{{ 48 #!sh 49 git clone https://github.com/0ad/0ad.git 50 }}} 51 or 52 53 {{{ 54 #!sh 55 git clone https://gitlab.com/0ad/0ad.git 56 }}} 57 As of February 2024, the Git repo consumes about 9 GB of disk space. Consider using `--depth=50` or something like that if you don't plan to compile previous versions. 46 58 === Subversion (SVN) === 47 59 To checkout the latest code from `SVN`, run this command: … … 64 76 svn up 0ad 65 77 }}} 66 === Git ===67 To use a `Git` mirror, use one of the following commands:68 69 {{{70 #!sh71 git clone https://github.com/0ad/0ad.git72 }}}73 or74 75 {{{76 #!sh77 git clone https://gitlab.com/0ad/0ad.git78 }}}79 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.