wesnoth map diff
1.0.0
? 2つのWesnothマップの間にDiffを印刷します
1-システムにノードがあることを確認してください。持っていない場合は、インストールしてください。 macOSまたはLinuxを使用している場合は、NVMを使用してノードをインストールできます。 Windowsでは、NVM-Windowsを使用します。
2- wesnoth-map-diffフォルダーで端子を開き、次のコマンドを実行してプロジェクトの依存関係をインストールします。
npm i
3-次に、次のコマンドを実行して作成します。
npm run build:dev
4-最後に、 node ./build/index.js [path for the old map] [path for the new map] [output filename]を使用して実行します。例えば:
node ./build/index.js old.map new.map output.png
テストの実行:
npm run test
糸くずを実行:
npm run lint