Skip to content

Commit

Permalink
cargo.eclass: use verbose cargo invocation
Browse files Browse the repository at this point in the history
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
  • Loading branch information
gyakovlev committed Oct 25, 2019
1 parent d134169 commit e243cc1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions eclass/cargo.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ cargo_live_src_unpack() {
mkdir -p "${S}" || die

pushd "${S}" > /dev/null || die
CARGO_HOME="${ECARGO_HOME}" cargo fetch || die
CARGO_HOME="${ECARGO_HOME}" cargo vendor "${ECARGO_VENDOR}" || die
CARGO_HOME="${ECARGO_HOME}" cargo -vv fetch || die
CARGO_HOME="${ECARGO_HOME}" cargo -vv vendor "${ECARGO_VENDOR}" || die
popd > /dev/null || die

cargo_gen_config
Expand Down Expand Up @@ -146,7 +146,7 @@ cargo_src_compile() {

export CARGO_HOME="${ECARGO_HOME}"

cargo build -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
cargo -vv build -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
|| die "cargo build failed"
}

Expand All @@ -156,7 +156,7 @@ cargo_src_compile() {
cargo_src_install() {
debug-print-function ${FUNCNAME} "$@"

cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") "$@" \
cargo -vv install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") "$@" \
|| die "cargo install failed"
rm -f "${D}/usr/.crates.toml"

Expand All @@ -169,7 +169,7 @@ cargo_src_install() {
cargo_src_test() {
debug-print-function ${FUNCNAME} "$@"

cargo test -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
cargo -vv test -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
|| die "cargo test failed"
}

Expand Down

0 comments on commit e243cc1

Please sign in to comment.