Editing MG/Getting The Code
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[MegaGlest]] has switched to git for managing the game's source code and data (the svn repo is no longer active). | [[MegaGlest]] has switched to git for managing the game's source code and data (the svn repo is no longer active). | ||
− | ==Linux quick setup== | + | ==Choose and install a git client== |
− | + | The MegaGlest source is stored in a Git repository (versions prior to 3.9.0 are in a different - SVN repository, however), and requires a Git client to download. Clients exist for all major operating systems. | |
+ | |||
+ | ===Linux quick setup=== | ||
+ | do this: | ||
− | + | git clone --recursive https://github.com/MegaGlest/megaglest-source.git | |
− | git clone -- | ||
cd megaglest-source/mk/linux/ | cd megaglest-source/mk/linux/ | ||
sudo ./setupBuildDeps.sh | sudo ./setupBuildDeps.sh | ||
Line 12: | Line 14: | ||
launch with: | launch with: | ||
./megaglest | ./megaglest | ||
− | |||
− | |||
− | |||
===Linux=== | ===Linux=== | ||
Line 32: | Line 31: | ||
'''''Prior to running these commands, you need to navigate to the directory (folder) you wish to place the MegaGlest source directory in.''''' | '''''Prior to running these commands, you need to navigate to the directory (folder) you wish to place the MegaGlest source directory in.''''' | ||
− | git clone -- | + | git clone --recursive <nowiki>https://github.com/MegaGlest/megaglest-source.git</nowiki> |
===Popular mistakes=== | ===Popular mistakes=== |