Skip to content

Commit af6eb51

Browse files
committed
update BuildAll.ps1
1 parent 5d8f364 commit af6eb51

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Plugins/BuildAll.ps1

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@ $currentPath = Get-Location
1515
$dirList = [System.IO.Directory]::GetDirectories("$currentPath\Plugins")
1616
foreach($dir in $dirList)
1717
{
18-
$dirName = $dir.Substring($dir.LastIndexOf("\") +1 )
19-
Write-Host "dir ${dirName}"
18+
$dirName = $dir.Substring($dir.LastIndexOf("\") + 1)
2019
$buildDir = "$dir\bin\Publish"
21-
Write-Host "buildDir ${buildDir}"
2220
$dllpath = "$buildDir\$dirName.dll"
23-
Write-Host "dllpath ${dllpath}"
2421
if(Test-Path $dllpath)
2522
{
2623
Write-Host "Skipped publish, file already exists."
2724
}else{
2825
dotnet publish $dir -o $buildDir -c Release
2926
}
30-
Write-Host "targetDir/Plugins ${targetDir/Plugins}"
3127
Copy-Item $dllpath $targetDir/Plugins
3228
}
3329
Write-Host "copied to the ${targetDir}"

0 commit comments

Comments
 (0)