diff --git a/playbooks/rust/all.yaml b/playbooks/rust/all.yaml index 79a0d01..a1bc837 100644 --- a/playbooks/rust/all.yaml +++ b/playbooks/rust/all.yaml @@ -21,7 +21,7 @@ - name: "Pre-Compile current code to ensure it builds" ansible.builtin.command: - cmd: "cargo build" + cmd: "cargo build -p openstack_sdk -p openstack_cli" chdir: "{{ rust_project_dir }}" - name: "Overwrite generated files" @@ -35,9 +35,9 @@ cmd: "cargo clippy --fix --lib --tests --allow-dirty" chdir: "{{ rust_project_dir }}" - - name: "Compile new code" + - name: "Compile new code (only generated crates)" ansible.builtin.command: - cmd: "cargo build" + cmd: "cargo build -p openstack_sdk -p openstack_cli" chdir: "{{ rust_project_dir }}" - name: "Checkout new branch"