mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-16 21:21:03 +08:00
build(Repository): migrate managed outputs to .artifacts
This commit is contained in:
@@ -11,7 +11,7 @@ $ErrorActionPreference = "Stop"
|
||||
. "$PSScriptRoot/NuGetPackageProjects.ps1"
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($PackageOutputDir)) {
|
||||
$PackageOutputDir = Join-Path $repositoryRoot "output/Nuget/$BuildType"
|
||||
$PackageOutputDir = Join-Path $repositoryRoot ".artifacts/Nuget/$BuildType"
|
||||
}
|
||||
$PackageOutputDir = [System.IO.Path]::GetFullPath($PackageOutputDir)
|
||||
New-Item -Path $PackageOutputDir -ItemType Directory -Force | Out-Null
|
||||
|
||||
@@ -4,12 +4,12 @@ param (
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$packageOutputDir = Join-Path $PSScriptRoot "../output/Nuget/$buildType"
|
||||
$packageOutputDir = Join-Path $PSScriptRoot "../.artifacts/Nuget/$buildType"
|
||||
|
||||
function Push-NuGetPackages {
|
||||
[CmdletBinding(SupportsShouldProcess = $true)]
|
||||
param(
|
||||
[string]$PackagePath = "../output/Nuget",
|
||||
[string]$PackagePath = "../.artifacts/Nuget",
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$Source
|
||||
)
|
||||
|
||||
@@ -81,7 +81,7 @@ run_fixture() {
|
||||
local run_log="$output_file.run.log"
|
||||
local project
|
||||
project="$(fixture_project "$fixture")"
|
||||
local fixture_assembly="$repo_root/output/bin/$configuration/net10.0/AtomUI.LinkedRegistration.Fixtures.$fixture.dll"
|
||||
local fixture_assembly="$repo_root/.artifacts/bin/$configuration/net10.0/AtomUI.LinkedRegistration.Fixtures.$fixture.dll"
|
||||
local build_args=(
|
||||
build "$project"
|
||||
-c "$configuration"
|
||||
|
||||
Reference in New Issue
Block a user