Skip to content

Contributing

dbent edited this page Nov 2, 2014 · 8 revisions

Building Build status

  1. On Windows:
  2. Ensure that you have PowerShell 3+ installed. If you are unsure you may follow the directions here to find which version you have installed. If your version is older than PowerShell 3, follow these directions to install the latest version.
  3. On Linux/Mac: TODO
  4. Clone the source repository using git.
  5. In the root of the source clone copy the file build.example.yml as build.yml and edit the property ksp_dir to be the full path to the installation of Kerbal Space Program you will use for development.
  6. Open an instance of PowerShell and change directory to the source clone.
  7. In your shell execute ./build. This will use the FAKE build system to build Ketchup.

Additional Commands

Executing Tests

Run xUnit tests.

./build Test

Deploy & Run

Build, test, deploy, and start KSP.

./build Run

Package

Create a ZIP file for distribution. The ZIP file will be output in ./Output/Package.

./build Package Configuration=Release Version=#.#.#
Clone this wiki locally