Skip to content

Commit

Permalink
remove pkgs before adding them in helper module (#67)
Browse files Browse the repository at this point in the history
otherwise, they could get in conflict.
  • Loading branch information
amtoine authored May 26, 2024
1 parent 10aa8cf commit ec15769
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/deps.nu
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ export def main [
}
}

let dependencies = open Cargo.toml | get dependencies
for pkg in $PKGS {
if $pkg in $dependencies {
cargo remove $pkg
}
}

for pkg in $PKGS {
cargo add $pkg --git $NUSHELL_REMOTE ...$opts
}
Expand Down

0 comments on commit ec15769

Please sign in to comment.