#!/usr/bin/env sh

nix flake update

[ "$1" = "upgrade" ] && cargo upgrade
cargo update

# vim: ft=sh