rust: Allow specifying which package to build for git crates
This commit is contained in:
@@ -609,7 +609,7 @@
|
|||||||
shell: |
|
shell: |
|
||||||
set -o errexit
|
set -o errexit
|
||||||
{{ cargo_env }}
|
{{ cargo_env }}
|
||||||
rustup run {{ item.toolchain|default('stable') }} cargo install --features "{{ item.features|default([])|join(' ') }}" {{ "--target " ~ item.target if item.target is defined else '' }} --git {{ item.url }} --branch {{ item.branch }}
|
rustup run {{ item.toolchain|default('stable') }} cargo install --features "{{ item.features|default([])|join(' ') }}" {{ "--target " ~ item.target if item.target is defined else '' }} --git {{ item.url }} --branch {{ item.branch }} {{ item.package|default("") }}
|
||||||
mv /var/lib/rust_build/.cargo/bin/{{ item.binary }} /var/lib/rust_build/.cargo/bin/{{ binary_id_git }}
|
mv /var/lib/rust_build/.cargo/bin/{{ item.binary }} /var/lib/rust_build/.cargo/bin/{{ binary_id_git }}
|
||||||
args:
|
args:
|
||||||
creates: /var/lib/rust_build/.cargo/bin/{{ binary_id_git }}
|
creates: /var/lib/rust_build/.cargo/bin/{{ binary_id_git }}
|
||||||
|
|||||||
Reference in New Issue
Block a user