We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8f364 commit af6eb51Copy full SHA for af6eb51
Plugins/BuildAll.ps1
@@ -15,19 +15,15 @@ $currentPath = Get-Location
15
$dirList = [System.IO.Directory]::GetDirectories("$currentPath\Plugins")
16
foreach($dir in $dirList)
17
{
18
- $dirName = $dir.Substring($dir.LastIndexOf("\") +1 )
19
- Write-Host "dir ${dirName}"
+ $dirName = $dir.Substring($dir.LastIndexOf("\") + 1)
20
$buildDir = "$dir\bin\Publish"
21
- Write-Host "buildDir ${buildDir}"
22
$dllpath = "$buildDir\$dirName.dll"
23
- Write-Host "dllpath ${dllpath}"
24
if(Test-Path $dllpath)
25
26
Write-Host "Skipped publish, file already exists."
27
}else{
28
dotnet publish $dir -o $buildDir -c Release
29
}
30
- Write-Host "targetDir/Plugins ${targetDir/Plugins}"
31
Copy-Item $dllpath $targetDir/Plugins
32
33
Write-Host "copied to the ${targetDir}"
0 commit comments