nix machine / user configurations
at terra 422 B view raw
1def "main build" [file: path] { 2 percli dac build -f ($file | path basename) 3 glob ./built/* 4 | enumerate 5 | each { 6 |f| mv -f $f.item ( 7 $env.PWD 8 | path join .. provision ( 9 $f.item 10 | path basename 11 | str replace "_output.yaml" ".yaml" 12 | $"9($f.index)-($in)" 13 ) 14 ) 15 } 16 rm ./built 17} 18 19def main [] {}