You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
workspaces: All building all members of the workspace #3491
Something like "cargo build" in the root of the workspace would seem useful, which would then build all members of the workspace. Similar to how "cargo clean" currently cleans the workspace.
Basically something similar to 62c0497 then, just doing the same for build? Are there any other commands that could use some --all'ification?
I might take a look into that later, would be nice to replace my Makefile doing just that with a cargo command
Now that all of the support was landed with cargo test --all it may just involve copying these lines into build.rs. We could add cargo doc as well, although I'd want to just tread purposefully here to ensure we don't expand it too quickly
Thanks, it was almost just that (I've submitted a pull request). For "cargo doc" a little bit more is needed, but if you think that's useful to have (it seems useful to me), I can prepare a pull request for that too.
Activity
steveklabnik commentedon Jan 4, 2017
This should be
--all, in my understandingalexcrichton commentedon Jan 6, 2017
Yeah we've got
cargo test --allnow on Nightly so it should be easy enough to addcargo build --all!sdroege commentedon Jan 6, 2017
Basically something similar to 62c0497 then, just doing the same for build? Are there any other commands that could use some --all'ification?
I might take a look into that later, would be nice to replace my Makefile doing just that with a cargo command
alexcrichton commentedon Jan 6, 2017
Now that all of the support was landed with
cargo test --allit may just involve copying these lines intobuild.rs. We could addcargo docas well, although I'd want to just tread purposefully here to ensure we don't expand it too quicklyAdd support for building all members of the workspace with "build --all"
sdroege commentedon Jan 6, 2017
Thanks, it was almost just that (I've submitted a pull request). For "cargo doc" a little bit more is needed, but if you think that's useful to have (it seems useful to me), I can prepare a pull request for that too.
alexcrichton commentedon Jan 7, 2017
cargo doc --allsounds great to me! I'm sure it'll be requested sooner rather than later :)sdroege commentedon Jan 7, 2017
Ok, I'll get to that once "build --all" is ready to be merged
Auto merge of #3511 - sdroege:build-all, r=alexcrichton
frewsxcv commentedon Jan 9, 2017
Can this be closed now?
frewsxcv commentedon Jan 9, 2017
Should the default Travis CI Rust script use
--allby default once this lands in stable?sdroege commentedon Jan 9, 2017
I would wait until #3515 landed before closing
Auto merge of #3515 - sdroege:doc-all, r=alexcrichton