xml.part files - how to use in building?

Discussion in 'Question & Answers' started by 1982Strand, Feb 2, 2013.

  1. 1982Strand

    1982StrandMembers

    Apr 2, 2011
    204
    10
    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 ;)
     
  2. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

    just merge that xml.part to default XML....
     
  3. 1982Strand

    1982StrandMembers

    Apr 2, 2011
    204
    10
    40
    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.. :)
     
    ingbrzy likes this.

Share Our Site