-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CLI: add --renderer
argument
#4320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
7d8c23e
to
f0c5203
Compare
--renderer
argument to the CLI--renderer
argument; resolve features recursively.
9b6e58e
to
2a8d4c7
Compare
Not sure if the playwright test failure is spurious or caused by my CLI changes |
2a8d4c7
to
5446e26
Compare
It was a problem with my changes. But now that's fixed I'm getting |
06a3f8c
to
bbc4c18
Compare
--renderer
argument; resolve features recursively.--renderer
argument
Ok, the recursive feature resolution was causing issues (build failures), so I've stripped that out for now. We can land that separately (probably not urgent?). |
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
bbc4c18
to
0f0826f
Compare
Cargo.toml
Outdated
@@ -441,7 +441,6 @@ openssl = { version = "0.10", features = ["vendored"] } | |||
# To make most examples faster to compile, we split out assets and http-related stuff | |||
# This trims off like 270 dependencies, leading to a significant speedup in compilation time | |||
[features] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather the default behavior of cargo run --example todomvc
to not be a runtime error - is there any reason why we can't keep "desktop" as the defualt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No reason except that IIRC it was me that added it recently. And so I was removing it again to put it back how I found it...
packages/cli/src/build/request.rs
Outdated
None => Platform::TARGET_PLATFORM.unwrap(), | ||
// TODO: should we always have a default | ||
// None => return Err(anyhow::anyhow!("No platform specified and no platform marked as default in Cargo.toml. Try specifying a platform with `--platform`").into()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkelleyrtp This was the only thing I wasn't sure about. Should we pick a default platform if none is specified at all? Either way I ought to either remove or reinstate the commented out code.
Signed-off-by: Nico Burns <nico@nicoburns.com>
Objectives
dx
doesn't work unless thedesktop
feature is enabled #4287