Browse Source

Remove `wpf` from build process if os is not windows.

pull/21807/head
maliming 1 year ago
parent
commit
fd505f2090
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 6
      build/common.ps1

6
build/common.ps1

@ -34,11 +34,13 @@ if ($full -eq "-f")
"../templates/module/aspnet-core",
"../templates/app/aspnet-core",
"../templates/console",
"../templates/wpf",
"../templates/app-nolayers/aspnet-core",
"../abp_io/AbpIoLocalization",
"../source-code"
)
)
if ($env:OS -eq "Windows_NT") {
solutionPaths += "../templates/wpf"
}
}else{
Write-host ""
Write-host ":::::::::::::: !!! You are in development mode !!! ::::::::::::::" -ForegroundColor red -BackgroundColor yellow

Loading…
Cancel
Save