Format generated Rust code
Change-Id: I75d43d3280d2353d5038b6bce714a186bd9cf956
This commit is contained in:
@@ -35,6 +35,11 @@
|
|||||||
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty"
|
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty"
|
||||||
chdir: "{{ rust_project_dir }}"
|
chdir: "{{ rust_project_dir }}"
|
||||||
|
|
||||||
|
- name: "Format generated code"
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: "cargo fmt"
|
||||||
|
chdir: "{{ rust_project_dir }}"
|
||||||
|
|
||||||
- name: "Compile new code (only generated crates)"
|
- name: "Compile new code (only generated crates)"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "cargo build -p openstack_sdk -p openstack_cli -p openstack_tui"
|
cmd: "cargo build -p openstack_sdk -p openstack_cli -p openstack_tui"
|
||||||
|
|||||||
Reference in New Issue
Block a user