Rust/update.sh

17 lines
270 B
Bash
Raw Normal View History

2023-05-13 15:59:18 -04:00
#!/usr/bin/env bash
set -eou pipefail
DIRECTORY=$(dirname "$0")
pushd $DIRECTORY
# Update our sources first
$DIRECTORY/sources/update-sources.sh
# Then update the flake
nix flake update
# Make sure the update worked
pushd $DIRECTORY/test-crate
./ci.sh
rm flake.lock