diff --git a/ps/make-docs.ps1 b/ps/make-docs.ps1 index 2eaa5a7..715150b 100644 --- a/ps/make-docs.ps1 +++ b/ps/make-docs.ps1 @@ -1,4 +1,2 @@ -[void](New-Item -ItemType Directory -Path build\docs\api -Force) -Remove-Item .\build\docs\api\* Write-Host "Building docs" ldcapp inDir=gws outDir=docs\api diff --git a/ps/make-release.ps1 b/ps/make-release.ps1 index 576b32e..ea86afb 100644 --- a/ps/make-release.ps1 +++ b/ps/make-release.ps1 @@ -33,10 +33,7 @@ Copy-Item $exampleMission $buildDir\example-$version.miz # Copy docs Write-Host "Copying docs" -[void](New-Item -ItemType Directory -Path $buildDir\docs -Force) -foreach ($file in Get-ChildItem docs) { - Copy-Item docs\$file $buildDir\docs -Force -} +Copy-Item -Recurse docs $buildDir # Create zip dir [void](New-Item -ItemType Directory -Path $archiveDir -Force)