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 @( 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 {

View File

@ -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'])