reorder folders for easy 1:1 upload to boogie server
This commit is contained in:
1 parent
de5895f558
commit
6c16e16354
20 files changed
+171
-52
No files matched your search
@@ -0,0 +1,16 @@
|
||||
$projectRoot = Split-Path -Parent $PSScriptRoot
|
||||
$deployBatchPath = Join-Path $projectRoot 'scripts\Deploy-Perspektivwerk.bat'
|
||||
$htaccessPath = Join-Path $projectRoot 'public\.htaccess'
|
||||
|
||||
Describe 'Perspektivwerk deployment' {
|
||||
It 'deploys the complete Perspektivwerk document root and its sibling configuration file' {
|
||||
$script = Get-Content -LiteralPath $deployBatchPath -Raw
|
||||
$htaccess = Get-Content -LiteralPath $htaccessPath -Raw
|
||||
|
||||
$script | Should Match 'public\\booking-config\.php'
|
||||
$script | Should Match 'public\\perspektivwerk"'
|
||||
$script | Should Match 'boogie:html/perspektivwerk/'
|
||||
$htaccess | Should Match '<Files "booking-config\.php">'
|
||||
$htaccess | Should Match 'Require all denied'
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user