diff options
Diffstat (limited to 'templates/rust/update.sh')
-rwxr-xr-x | templates/rust/update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/rust/update.sh b/templates/rust/update.sh index b34dabf..a0a029f 100755 --- a/templates/rust/update.sh +++ b/templates/rust/update.sh @@ -1,5 +1,6 @@ #!/usr/bin/env sh nix flake update -cargo update + [ "$1" = "upgrade" ] && cargo upgrade +cargo update |