Skip to content

Commit

Permalink
Prepare for release v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaopudark committed Sep 10, 2023
1 parent 5da4d3b commit eae7a1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ $component_content | Set-Content -Path "${PSScriptRoot}\Tests\Components\README.


if (!(Test-Path -LiteralPath $ModuleInfo.BuildPath)){
New-Item -Path $ModuleInfo.BuildPath -ItemType Directory
New-Item -Path $ModuleInfo.BuildPath -ItemType Directory | Out-Null
}
if (Test-Path -LiteralPath "$($ModuleInfo.BuildPath)\$($ModuleInfo.ModuleVersion)"){
Remove-Item "$($ModuleInfo.BuildPath)\$($ModuleInfo.ModuleVersion)" -Force -Recurse
}
New-Item -Path "$($ModuleInfo.BuildPath)\$($ModuleInfo.ModuleVersion)" -ItemType Directory
New-Item -Path "$($ModuleInfo.BuildPath)\$($ModuleInfo.ModuleVersion)" -ItemType Directory | Out-Null

Copy-Item -Path "${PSScriptRoot}\Module\*" -Destination "$($ModuleInfo.BuildPath)\$($ModuleInfo.ModuleVersion)" -Recurse -Force

Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
. "${PSScriptRoot}\build.ps1"

if (!(Test-Path -LiteralPath $ModuleInfo.InstallPath)){
New-Item -Path $ModuleInfo.InstallPath -ItemType Directory
New-Item -Path $ModuleInfo.InstallPath -ItemType Directory | Out-Null
}
if (Test-Path -LiteralPath "$($ModuleInfo.InstallPath)\$($ModuleInfo.ModuleVersion)"){
Remove-Item "$($ModuleInfo.InstallPath)\$($ModuleInfo.ModuleVersion)" -Force -Recurse
Expand Down

0 comments on commit eae7a1a

Please sign in to comment.