Skip to content

Commit 0d67a6a

Browse files
committed
Added "cleaning" to the publish script
1 parent 68ba92f commit 0d67a6a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

FanScript.Cli/publish.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Param (
55

66
$publishDir = './bin/Publish'
77

8+
Write-Host Cleaning
9+
Remove-Item -Path $publishDir -Recurse -Force
10+
811
foreach ($profile in $profiles) {
912
Write-Host "Publishing $profile"
1013
if ($profile -eq 'framework-dependent') {

FanScript.LangServer/publish.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Param (
55

66
$publishDir = './bin/Publish'
77

8+
Write-Host Cleaning
9+
Remove-Item -Path $publishDir -Recurse -Force
10+
811
foreach ($profile in $profiles) {
912
Write-Host "Publishing $profile"
1013
if ($profile -eq 'framework-dependent') {

publish.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Publish-Proj 'FanScript.LangServer'
2929

3030
$publishDir = 'Publish'
3131

32+
Write-Host Cleaning
33+
Remove-Item -Path $publishDir -Recurse -Force
34+
3235
Write-Host 'Copying files'
3336

3437
New-Item -Path . -Name $publishDir -ItemType "directory" -Force > $null

0 commit comments

Comments
 (0)