1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05:00

rebuild command added

This commit is contained in:
Kyle Spearrin
2018-08-30 16:25:33 -04:00
parent 69605fab5b
commit 3c52cc9082
4 changed files with 27 additions and 5 deletions

View File

@ -4,6 +4,7 @@ param (
[switch] $restart,
[switch] $stop,
[switch] $update,
[switch] $rebuild,
[switch] $updatedb,
[switch] $updateself,
[string] $output = ""
@ -87,6 +88,10 @@ elseif ($update) {
Download-Run-File
Invoke-Expression "$scriptsDir\run.ps1 -update -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($rebuild) {
Check-Output-Dir-Exists
Invoke-Expression "$scriptsDir\run.ps1 -rebuild -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($updatedb) {
Check-Output-Dir-Exists
Invoke-Expression "$scriptsDir\run.ps1 -updatedb -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"