-
Notifications
You must be signed in to change notification settings - Fork 33
Build and Run
Thomas Boby edited this page Mar 17, 2022
·
2 revisions
- .NET SDK, currently version 6.
- VS Code
- Ionide FSharp extension for FSharp IDE support
- C# extension for the debugger
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:
-
./build.cmdor./build.shwhich will run the following automatically:dotnet tool restoredotnet paket restoredotnet 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.
- 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.