samples/dependencies/.build.map.ps1
|
# Task dependencies: `qbuild pack` runs lint, restore, build, test and api.build first, # each once, then pack. See README.md. [ordered]@{ restore = @{ description = 'Restore packages' exec = { Write-Host 'restoring packages' } } lint = @{ description = 'Lint the sources' exec = { Write-Host 'linting' } } build = @{ description = 'Build the solution' _dependsOn = 'restore' exec = { Write-Host 'building' } } test = @{ description = 'Run the tests' _dependsOn = @('restore', 'build') exec = { Write-Host 'running tests' } } api = [ordered]@{ build = @{ description = 'Build the API' _dependsOn = 'restore' exec = { Write-Host 'building api' } } } pack = @{ description = 'Pack everything' _dependsOn = @('lint', 'test', 'api.build') exec = { Write-Host 'packing' } } } |