mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
dist build for all
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
[string] $version,
|
||||
[switch] $mas,
|
||||
[switch] $masdev,
|
||||
[switch] $skipcheckout
|
||||
[switch] $skipcheckout,
|
||||
[switch] $skipoutcopy
|
||||
)
|
||||
|
||||
# Dependencies:
|
||||
@@ -45,16 +46,18 @@ if (-not ([string]::IsNullOrEmpty($version))) {
|
||||
}
|
||||
|
||||
npm i
|
||||
if ($mas) {
|
||||
npm run dist:safari:mas
|
||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
elseif ($masdev) {
|
||||
npm run dist:safari
|
||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
else {
|
||||
npm run dist:safari:dmg
|
||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||
npm run dist:safari
|
||||
|
||||
if (-not $skipoutcopy) {
|
||||
if ($mas) {
|
||||
Copy-Item -Path $distSafariAppexMas -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
elseif ($masdev) {
|
||||
Copy-Item -Path $distSafariAppexMasDev -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
else {
|
||||
Copy-Item -Path $distSafariAppexDmg -Destination $pluginsAppex –Recurse
|
||||
}
|
||||
}
|
||||
|
||||
cd $rootDir
|
||||
|
||||
Reference in New Issue
Block a user