mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2025-02-23 10:25:05 +00:00
upd build script, format files/dirs the same as Taskfile
This commit is contained in:
parent
8657e8846a
commit
cc46fc31f8
@ -10,9 +10,9 @@ function Format-SpecName {
|
|||||||
)
|
)
|
||||||
return @(
|
return @(
|
||||||
$prefix,
|
$prefix,
|
||||||
(& { if ($theme) { $theme } else { "" } }),
|
$Kind,
|
||||||
$Kind
|
(& { if ($theme) { $theme } else { "" } })
|
||||||
).Where({ $_ -ne "" }) -Join "_"
|
).Where({ $_ -ne "" }) -Join "-"
|
||||||
}
|
}
|
||||||
|
|
||||||
function Compress-Builds {
|
function Compress-Builds {
|
||||||
|
@ -5,7 +5,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
def build_sunvalley():
|
def build_sunvalley():
|
||||||
buildscript = Path.cwd() / 'build.ps1'
|
buildscript = Path.cwd() / 'build.ps1'
|
||||||
subprocess.run(['powershell', str(buildscript), 'sv'])
|
subprocess.run(['powershell', str(buildscript), 'sunvalley'])
|
||||||
|
|
||||||
|
|
||||||
def build_forest():
|
def build_forest():
|
||||||
@ -14,7 +14,7 @@ def build_forest():
|
|||||||
|
|
||||||
buildscript = Path.cwd() / 'build.ps1'
|
buildscript = Path.cwd() / 'build.ps1'
|
||||||
for theme in ('light', 'dark'):
|
for theme in ('light', 'dark'):
|
||||||
subprocess.run(['powershell', str(buildscript), 'fst', theme])
|
subprocess.run(['powershell', str(buildscript), 'forest', theme])
|
||||||
|
|
||||||
subprocess.run([sys.executable, str(rewriter), '--restore'])
|
subprocess.run([sys.executable, str(rewriter), '--restore'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user