mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
098689083d
* Related to #1547: use `dioxus-cli` within a workspace Although the `dx` CLI allows to specify a package name to chose from workspace members, it does not support workspace members specified as glob-wildcards. Neither it respects the effective package name, specified in the crate's `Cargo.toml`. This PR addresses that issue: - upon `dx build ...`, if the `--bin` CLI-argument is provided, treat the current dir as a workspace; - search through the workspace's `members`: resolve each of them with `glob`; - assume that any workspace member has a `Cargo.toml` in it (cargo does it, so it's okay); - read said manifest, and check the package name in it; - if found — there we have our sought package. * Use cargo-metadata to find out the workspace structure * glob is unused |
||
---|---|---|
.. | ||
autofmt | ||
check | ||
cli | ||
core | ||
core-macro | ||
desktop | ||
dioxus | ||
dioxus-tui | ||
extension | ||
fermi | ||
fullstack | ||
generational-box | ||
hooks | ||
hot-reload | ||
html | ||
interpreter | ||
liveview | ||
mobile | ||
native-core | ||
native-core-macro | ||
rink | ||
router | ||
router-macro | ||
rsx | ||
rsx-rosetta | ||
server-macro | ||
signals | ||
ssr | ||
web |