mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 10:00:46 +00:00
build and compress
This commit is contained in:
parent
4f48b0f01d
commit
3f696d86da
17
build.ps1
17
build.ps1
@ -1,3 +1,20 @@
|
|||||||
|
function Compress-Builds {
|
||||||
|
@("basic", "banana", "potato") | ForEach-Object {
|
||||||
|
$target = Join-Path -Path $PSScriptRoot -ChildPath "dist"
|
||||||
|
Compress-Archive -Path $(Join-Path -Path $target -ChildPath $_) -DestinationPath $(Join-Path -Path $target -ChildPath "${_}.zip")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Get-Builds {
|
||||||
@("basic", "banana", "potato") | ForEach-Object {
|
@("basic", "banana", "potato") | ForEach-Object {
|
||||||
pdm run pyinstaller "${_}.spec" --noconfirm
|
pdm run pyinstaller "${_}.spec" --noconfirm
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function main {
|
||||||
|
Get-Builds
|
||||||
|
|
||||||
|
Compress-Builds
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($MyInvocation.InvocationName -ne '.') { main }
|
Loading…
Reference in New Issue
Block a user