Project
The project
block describes the relationship of this project to other projects.
Example Usage
project @dotnet {
ignores = [ "**/*.binlog" ]
dependencies = [ "../other-project" ]
links = [ "../weak-reference-to-project" ]
outputs = [ "bin/" "obj/" "**/*.binlog" ]
includes = [ "**/*" ]
}
# attributes can be omitted - this will use default configuration from extension
project @dotnet
Argument Reference
The following arguments are supported:
identifier
- (Optional) Project will be initialized using provided extension.ignores
- (Optional) List of globbings to ignore. Globbings are relative project directory.dependencies
- (Optional) List of dependencies relative to project directory or absolute in workspace. Do not confuse withlinks
.links
- (Optional) List of weak dependencies relative to project directory or absolute in workspace.links
does not enforce target completion nor build order - a link just allows to get project information (discover project hash for example using version function).links
can be used for build optimizations (when you just need project hash and no outputs).outputs
- (Optional) List of globbings to include to capture artifacts. 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**/*
(all files under project directory).
Last updated on