import-tasks.ps1

# Load domain-specific task definitions
$taskGroups = @(
    "versioning"
    "building"
    "testing"
)
$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")