import-tasks.ps1

# Load domain-specific task definitions
$taskGroups = @(
    "common"
    "versioning"
    "dotnet"
    "powershell"
    "bicep"
    "container"
    "buildserver"
    "analysis"
    "powerbi"
    "github"
    "python"
)
$taskGroups | ForEach-Object {
    $taskFilename = "$_.tasks.ps1"
    $taskFilePath = Resolve-Path ([IO.Path]::Combine($PSScriptRoot, "tasks", $taskFilename))
    Write-Information "Import '$taskFilePath'"
    . $taskFilePath
}

# Import the build process that orchestrates the above tasks
. (Join-Path $PSScriptRoot "tasks/build.process.ps1")