-
Notifications
You must be signed in to change notification settings - Fork 39
Local Validation
ROBdk97 edited this page Oct 25, 2024
·
1 revision
ini-utils
is a utility tool for working with INI files. It provides commands to merge and validate INI files.
-
Clone the repository:
git clone https://github.com/Dymerz/StarCitizen-Localization.git cd <repository-directory>/tools/ini-utils
-
Install dependencies:
npm install
-
Build the project:
npm run build
To validate INI files, use the validate
command. This command checks if all entries from a reference file are present in the source files and if the placeholders match.
node ./dist/src/index.js validate <source> [files...]
-
<source>
: Path to the english INI file. -
[files...]
: Paths to the INI files to validate.
Example:
node ./dist/src/index.js validate ../../data/Localization/english/global.ini ../../data/Localization/french_(france)/global.ini