Difference between revisions of "Making a Patch"
Jump to navigation
Jump to search
imported>Heeheehee m (consistency) |
imported>Capitol (→Linux: a brief description on how to create a patch in linux) |
||
Line 7: | Line 7: | ||
==Linux== | ==Linux== | ||
+ | # cd into the folder where you did your svn checkout | ||
+ | # run svn diff > /tmp/patchname.patch (a list of filenames can optionally be included after diff) | ||
+ | # post the file on the forums for review | ||
==Mac== | ==Mac== | ||
[[Category:Tech Support]] | [[Category:Tech Support]] |
Revision as of 20:23, 5 May 2012
Once you have the source code for Mafia successfully downloaded as in the Compiling from Source page, you will then need to make a patch, as the dev's don't let just anyone update the program. Fortunately, this is very simple, and once you have the patch, post it on the KoLmafia Forums for acceptance.
Windows
- Right-click on the KoLmafia folder on your desktop (this assumes you are using Tortoise SVN), click on "TortoiseSVN" and then "Create Patch...".
- A new window then appears. Tick all the files you want to include in the patch (this is probably all of them), and click OK.
- Tortoise SVN then merges all your changes into a single .patch file, which you can then post on the forums.
Linux
- cd into the folder where you did your svn checkout
- run svn diff > /tmp/patchname.patch (a list of filenames can optionally be included after diff)
- post the file on the forums for review