Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Updated the build system
- Loading branch information
Showing
with
3 additions
and
4 deletions.
-
+1
−1
tool/clean.ps1
-
+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 |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.