xml.part files - how to use in building?


1982Strand

Members
Apr 2, 2011
204
40
Hi there, here's a question for the devs:

I noticed you are using files with the .part extension, which adds the contents of the file to the corresponding file without the .part extension (i.e. arrays.xml.part -> arrays.xml)

I wanted to ask how you use it, because before i was simply copying the arrays.xml from the "fixes" folder in the english repo, but of course can't do that anymore. And it seems to me that making use of this .part file would be more efficient than to making a diff for the xml, as it would break everytime something is changed in the file..

So i was hoping to learn some new stuff here about building and scripting ;)
 
Hi there, here's a question for the devs:

I noticed you are using files with the .part extension, which adds the contents of the file to the corresponding file without the .part extension (i.e. arrays.xml.part -> arrays.xml)

I wanted to ask how you use it, because before i was simply copying the arrays.xml from the "fixes" folder in the english repo, but of course can't do that anymore. And it seems to me that making use of this .part file would be more efficient than to making a diff for the xml, as it would break everytime something is changed in the file..

So i was hoping to learn some new stuff here about building and scripting ;)
just merge that xml.part to default XML....
 
Ok, i'm putting something together to automate the process of making a diff and merging the files, within a script, so i won't have a static diff that i apply each week :) This would also prevent errors when the files are changed.. :)
 
  • Like
Reactions: ingbrzy