upd build script, format files/dirs the same as Taskfile

This commit is contained in:
Onyx and Iris 2025-02-07 15:09:21 +00:00
parent 8657e8846a
commit cc46fc31f8
2 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ function Format-SpecName {
)
return @(
$prefix,
(& { if ($theme) { $theme } else { "" } }),
$Kind
).Where({ $_ -ne "" }) -Join "_"
$Kind,
(& { if ($theme) { $theme } else { "" } })
).Where({ $_ -ne "" }) -Join "-"
}
function Compress-Builds {

View File

@ -5,7 +5,7 @@ from pathlib import Path
def build_sunvalley():
buildscript = Path.cwd() / 'build.ps1'
subprocess.run(['powershell', str(buildscript), 'sv'])
subprocess.run(['powershell', str(buildscript), 'sunvalley'])
def build_forest():
@ -14,7 +14,7 @@ def build_forest():
buildscript = Path.cwd() / 'build.ps1'
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'])