Project Block

The project block describes the relationship of this project to other projects.

Example Usage

project api {
    dependencies = [ "../other-project" ]
    outputs = [ "bin/" "obj/" "**/*.binlog" ]
    ignores = [ "**/*.binlog" ]
    includes = [ "**/*" ]
    depends_on = [ project.api ]

    @dotnet { }
}

Argument Reference

The following arguments are supported:

  • identifier - (Optional) Project identifier.
  • dependencies - (Optional) List of dependencies to load relative to project directory or absolute in workspace.
  • outputs - (Optional) List of globbings to include to capture artifacts. Globbings are relative to project directory.
  • ignores - (Optional) List of globbings to ignore. Globbings are relative to project directory.
  • includes - (Optional) List of globbings to determine project files to include. Globbing are relative to project directory. Default is **/*.
  • depends_on - (Optional) List of project dependencies. Project must have a unique identifier to be referenced. Note this does not force a load, this just ensures dependency is resolved before.
  • nested initializer blocks - (Optional) Collection of project initializers using given extension.
Last updated on