XML-Comp

command module
Version: v0.0.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2016 License: MIT Imports: 4 Imported by: 0

README

LICENSE Go Report Card codebeat badge GoDoc Top Level Coverage / comparer coverage Travis Build Status

XML-Comparer

This package is a command line tool that provides the capability of comparing two directories and outputs files with differences between them, including: missing Files, missing Folders and missing Tags of .xml files. It was made to help RimWorld's community translators(1) to know what was modified on the last XML updates and to let them keep in track of what they need to add/remove from what has been done.

(1) and maybe other indie games that uses XML

Installing

$ go get github.com/XML-Comp/XML-Comp

Running

$ XML-Comp -comp -original /path/to/language/english -translation /path/to/language/translation

How this works?

You need two paths that we call "original" & "translation", which are described bellow:

  • "original": Full path directory of your RimWorld English folder
  • "translation": Full path directory of your RimWorld ~Language~ folder cloned from GitHub

My "original" path: /Users/arthur/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Mods/Core/Languages/English

My "translation" path: /Users/arthur/Github/RimWorld-PortugueseBrazilian

With these paths in hand you run our program and It will let you know in a missingSomethieng.txt file what is missing and where in your translation! That simple!

XML-Comp CLI Usage (needed Go 1.7+)
$ git clone github.com/XML-Comp/xml-comp
$ cd xml-comp
$ go install
$ xml-comp help
To Do - Check our Issues & Milestones

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL