mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 23:17:15 +03:00
Merge pull request #39 from ipetkov/cleanup
buildDepsOnly: remove (now unnecessary) cargoLock check
This commit is contained in:
commit
4fe4d14281
@ -28,9 +28,8 @@ let
|
||||
|
||||
path = args.src or throwMsg;
|
||||
cargoToml = path + "/Cargo.toml";
|
||||
cargoLock = path + "/Cargo.lock";
|
||||
dummySrc =
|
||||
if builtins.pathExists cargoToml && builtins.pathExists cargoLock
|
||||
if builtins.pathExists cargoToml
|
||||
then mkDummySrc args
|
||||
else throwMsg;
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user