mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 23:17:15 +03:00
2e24bc6591
For example, the Cargo git repo contains multiple "case" Cargo.toml files in the testsuite. Let's ignore them like what Cargo does [1]. Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
12 lines
191 B
Bash
Executable File
12 lines
191 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
scriptDir=$(dirname "$0")
|
|
cd "${scriptDir}"
|
|
|
|
craneOverride="--override-input crane ../.."
|
|
|
|
# Try fetching the git verision of cargo
|
|
nix build ${craneOverride} .#cargo-git
|