Skip to content

Commit 06c656a

Browse files
authored
refactor(rust): build only relevant bin (#33)
1 parent cb83a4e commit 06c656a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskfile/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tasks:
1919
requires:
2020
vars: [ BINARIES_NAME, RUST_WORKSPACE_DIR ]
2121
cmds:
22-
- cargo build --target x86_64-unknown-linux-gnu --release
22+
- cargo build --target x86_64-unknown-linux-gnu --release --bin {{ .BINARIES_NAME | replace " " " --bin "}}
2323
- for: { var: BINARIES_NAME }
2424
cmd: cp {{.RUST_WORKSPACE_DIR}}/target/x86_64-unknown-linux-gnu/release/{{.ITEM}} ./bootstrap && zip -r {{.ROOT_DIR}}/bin/{{.ITEM}}.zip ./bootstrap
2525

0 commit comments

Comments
 (0)