Fix build.ps1 copying files incorrectly
This commit is contained in:
@@ -5,8 +5,8 @@ try {
|
|||||||
|
|
||||||
Remove-Item -Force -Recurse ./build | Out-Null
|
Remove-Item -Force -Recurse ./build | Out-Null
|
||||||
New-Item -ItemType Directory ./build | Out-Null
|
New-Item -ItemType Directory ./build | Out-Null
|
||||||
Copy-Item -Path ./css/. -Destination ./build -Recurse -Force | Out-Null
|
Copy-Item -Path ./css/* -Destination ./build -Recurse -Force | Out-Null
|
||||||
Copy-Item -Path ./js/. -Destination ./build -Recurse -Force | Out-Null
|
Copy-Item -Path ./js/* -Destination ./build -Recurse -Force | Out-Null
|
||||||
|
|
||||||
if ((Get-Command "lua_modules/bin/ldoc" -ErrorAction SilentlyContinue) -eq $null) {
|
if ((Get-Command "lua_modules/bin/ldoc" -ErrorAction SilentlyContinue) -eq $null) {
|
||||||
echo "ldoc not found; please run scripts/install.ps1"
|
echo "ldoc not found; please run scripts/install.ps1"
|
||||||
|
|||||||
Reference in New Issue
Block a user