Format generated Rust code
Change-Id: I75d43d3280d2353d5038b6bce714a186bd9cf956
This commit is contained in:
parent
a6002e661b
commit
e0f1e9c0b2
@ -35,6 +35,11 @@
|
||||
cmd: "cargo clippy --fix --lib --tests --bins --allow-dirty"
|
||||
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)"
|
||||
ansible.builtin.command:
|
||||
cmd: "cargo build -p openstack_sdk -p openstack_cli -p openstack_tui"
|
||||
|
Loading…
x
Reference in New Issue
Block a user