enforce Cargo.lock is up to date instead of building
This commit is contained in:
parent
0a7e29b7d7
commit
bf41d6c035
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue