enforce Cargo.lock is up to date instead of building

This commit is contained in:
Daiderd Jordan 2020-05-24 16:42:15 +02:00
parent 0a7e29b7d7
commit bf41d6c035
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -2,5 +2,5 @@
#!nix-shell -i bash -E "with import <nixpkgs> {}; mkShell { nativeBuildInputs = [ (import (builtins.fetchTarball https://github.com/kolloch/crate2nix/archive/0.8.0.tar.gz) {}) ]; }" #!nix-shell -i bash -E "with import <nixpkgs> {}; mkShell { nativeBuildInputs = [ (import (builtins.fetchTarball https://github.com/kolloch/crate2nix/archive/0.8.0.tar.gz) {}) ]; }"
set -e set -e
cargo build cargo fetch --locked
crate2nix generate crate2nix generate