Skip to content

Commit

Permalink
make-docs: fix docs copying
Browse files Browse the repository at this point in the history
  • Loading branch information
birgersp committed Jun 29, 2021
1 parent 8cdff05 commit 5d4d8a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions ps/make-docs.ps1
Original file line number Diff line number Diff line change
@@ -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
5 changes: 1 addition & 4 deletions ps/make-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d4d8a2

Please sign in to comment.