Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Latest commit

 

History

History
31 lines (17 loc) · 1.08 KB

how_to_build.md

File metadata and controls

31 lines (17 loc) · 1.08 KB

How to build

Bau has used itself to build itself from the very start. A practice known as 'dogfooding' :neckbeard:.

These instructions are only for building with Bau, including compilation, tests and packaging. This is the simplest way to build.

You can also build with Visual Studio 2012 or later but you'll have to run the tests yourself and packaging will not take place.

Prerequisites

  • (Windows) .NET framework 4.5 or later.
  • (Mac/Linux) Mono 3.0 or later. (On Linux, only mono-devel is required.)
  • (All platforms) scriptcs 0.14.1 or later.

Building

Using a command prompt, navigate to your clone root folder and execute:

build.bat (Windows)

build.sh (Mac/Linux)

This executes the default build tasks. After the build has completed, the build artifacts will be located in artifacts.

To run the acceptance test task (and all dependencies), execute:

build.bat accept (Windows only)

To run all tasks, execute:

build.bat all (Windows only)