Skip to content

Pass additional arguments to build commands#94

Merged
ricochet merged 2 commits intowasmCloud:mainfrom
f4z3r:feat/pass-args-to-build
Nov 9, 2025
Merged

Pass additional arguments to build commands#94
ricochet merged 2 commits intowasmCloud:mainfrom
f4z3r:feat/pass-args-to-build

Conversation

@f4z3r
Copy link
Contributor

@f4z3r f4z3r commented Oct 8, 2025

Relates-to:

Feature or Problem

Allow to pass additional arguments to build systems on the build command.

Related Issues

#60

Release Information

Next

Consumer Impact

None.

Testing

Unit Test(s)

Acceptance or Integration

Added a --release flag in one of the integration tests.

Manual Verification

Built a custom component with additional flags:

$ wash build --skip-fetch
2025-10-08T07:18:20.092760Z  INFO building component path="."
2025-10-08T07:18:53.052954Z  INFO cargo build --target wasm32-wasip2 --color always completed in 32.96s
2025-10-08T07:18:53.054584Z  INFO Generated project configuration at ./.wash/config.json
Successfully built component at: <redacted>

$ wash build --skip-fetch . -- --release
2025-10-08T07:19:36.695847Z  INFO building component path="."
2025-10-08T07:19:36.908974Z  INFO cargo build --target wasm32-wasip2 --color always --release completed in 0.21s
Successfully built component at: <redacted>

We can see that the --release flag was correctly passed to cargo.

@ricochet ricochet requested a review from a team as a code owner November 8, 2025 18:34
@ricochet ricochet added this pull request to the merge queue Nov 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Nov 8, 2025
@ricochet ricochet added this pull request to the merge queue Nov 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Nov 8, 2025
f4z3r and others added 2 commits November 8, 2025 19:21
Relates-to: wasmCloud#60
Signed-off-by: Jakob Beckmann <f4z3r-github@pm.me>
Signed-off-by: Bailey Hayes <behayes2@gmail.com>
@ricochet ricochet force-pushed the feat/pass-args-to-build branch from af39be4 to c0f1cde Compare November 9, 2025 00:32
@ricochet ricochet added this pull request to the merge queue Nov 9, 2025
Merged via the queue into wasmCloud:main with commit 19f828c Nov 9, 2025
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants