parameterize this script better
This commit is contained in:
parent
436a71dc26
commit
fb136b212a
1 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,7 @@ def check-exe [] {
|
|||
}
|
||||
|
||||
def compare-versions [] {
|
||||
each {||
|
||||
let repo = $in
|
||||
let $bin = $repo | repo-to-bin
|
||||
if not ($bin | check-exe) { return }
|
||||
|
@ -69,6 +70,7 @@ latest: ($latest)
|
|||
current:
|
||||
($current)
|
||||
"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -83,5 +85,5 @@ current:
|
|||
zyedidia/eget
|
||||
prefix-dev/pixi
|
||||
]
|
||||
| each {|| $in | compare-versions}
|
||||
| compare-versions
|
||||
| ignore
|
||||
|
|
Loading…
Reference in a new issue