Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build and Run

Thomas Boby edited this page Mar 17, 2022 · 2 revisions

Dependencies

Recommended

Setup

It is very simple to build CWTools from the command line, either standalone, or using a "Terminal" window in VS Code. Once you've cloned the repository (and optionally opened it in VS Code), create a terminal and:

  1. ./build.cmd or ./build.sh which will run the following automatically:
    1. dotnet tool restore
    2. dotnet paket restore
    3. dotnet build

Then to run tests either:

  • ./build.cmd test
  • or cd CWToolsTests, dotnet run

In general, all projects are built by simply running dotnet build and all executable projects run with dotnet run.

Projects

  • CWTools: The main library
  • CWToolsTests: The test suite
  • CWToolsCLI: A CLI frontend for the CWTools library, intended for use in continuous integration
  • CWToolsDocs: A small application that generates HTML/Wiki docs from the rules. E.g. https://cwtools.github.io/cwtools-hoi4-config/
  • CWToolsScripts / Scripts: A collection of small utilities for generating rules related content
  • CWToolsCSTests: A (currently broken) test suite using a C# project.
Clone this wiki locally