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:
wucke13
2024-04-06 04:17:31 +02:00
committed by wucke13
parent ffd81b6a72
commit 0e8945db78
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -319,6 +319,7 @@
cargo-release cargo-release
clippy clippy
nodePackages.prettier nodePackages.prettier
nushell # for the .ci/gen-workflow-files.nu script
rustfmt rustfmt
packages.proverif-patched packages.proverif-patched
]; ];