mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
fix: .ci/gen-workflow-files.nu script
- Fix std log import (remove the asterisk) - Add sort to dependencies field to make script output deterministic - Remove whitespace error at EOF - Add nushell to the default devShell, so that the script can be ran from the devShell
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env nu
|
#!/usr/bin/env nu
|
||||||
|
|
||||||
use log *
|
use std log
|
||||||
|
|
||||||
# cd to git root
|
# cd to git root
|
||||||
cd (git rev-parse --show-toplevel)
|
cd (git rev-parse --show-toplevel)
|
||||||
@@ -116,6 +116,7 @@ for system in ($targets | columns) {
|
|||||||
} }
|
} }
|
||||||
| filter {|it| $it.needed}
|
| filter {|it| $it.needed}
|
||||||
| each {|it| job-id $system $it.name}
|
| each {|it| job-id $system $it.name}
|
||||||
|
| sort
|
||||||
)
|
)
|
||||||
|
|
||||||
mut new_job = {
|
mut new_job = {
|
||||||
|
|||||||
Reference in New Issue
Block a user