Skip to content
Permalink
Browse files

Updated the build system

  • Loading branch information
cedx committed Nov 26, 2020
1 parent 012eec4 commit a1742b7f8159da092f3068bc19117ad4868e408d
Showing with 3 additions and 4 deletions.
  1. +1 −1 tool/clean.ps1
  2. +2 −3 tool/doc.ps1
@@ -2,7 +2,7 @@
Set-StrictMode -Version Latest
Set-Location (Split-Path $PSScriptRoot)

foreach ($item in "build", "doc/api", "www") {
foreach ($item in "build", "docs/api") {
if (Test-Path $item) { Remove-Item $item -Force -Recurse }
}

@@ -3,6 +3,5 @@ Set-StrictMode -Version Latest
Set-Location (Split-Path $PSScriptRoot)

phpdoc --config=etc/phpdoc.xml
if (-not (Test-Path doc/api/images)) { New-Item doc/api/images -ItemType Directory | Out-Null }
Copy-Item doc/img/favicon.ico doc/api/images
mkdocs build --config-file=etc/mkdocs.yaml
if (-not (Test-Path docs/api/images)) { New-Item docs/api/images -ItemType Directory | Out-Null }
Copy-Item docs/favicon.ico docs/api/images

0 comments on commit a1742b7

Please sign in to comment.