ÿþ# this should be run from dmd2\src directory in an unmodified dmd source tree # e.g., dir should show: dmd, druntime, phobos # # this script assumes you've made a junction # from ..\..\dmd to a dmd2 folder which contains your modifications # # see: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx # if you don't know what a NTFS junction is # # also note, that powershell has a built in alias for diff, so you'll need # to provide an appropriate path to diff # ..\..\..\tools\diff --unified --recursive dmd ..\..\dmd\src\dmd | out-file -Encoding UTF8 -FilePath dmd.patch