mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
README.md: Show how to build all individual bins by cargo (#9069)
* README.md: Build all individual bins by cargo * Improve cmd to build all ndividual bins * README.md: remove bracket --------- Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
@@ -134,11 +134,13 @@ example:
|
||||
cargo build --features "base32 cat echo rm" --no-default-features
|
||||
```
|
||||
|
||||
If you don't want to build the multicall binary and would prefer to build the
|
||||
utilities as individual binaries, that is also possible. Each utility is
|
||||
contained in its own package within the main repository, named "uu_UTILNAME". To
|
||||
build individual utilities, use cargo to build just the specific packages (using
|
||||
the `--package` [aka `-p`] option). For example:
|
||||
If you want to build the utilities as individual binaries, that is also possible:
|
||||
|
||||
```shell
|
||||
cargo build --release --bins --workspace --exclude coreutils --exclude uu_runcon --exclude uu_chcon
|
||||
```
|
||||
Each utility is contained in its own package within the main repository, named "uu_UTILNAME". To
|
||||
build selected individual utilities, use the `--package` [aka `-p`] option. For example:
|
||||
|
||||
```shell
|
||||
cargo build -p uu_base32 -p uu_cat -p uu_echo -p uu_rm
|
||||
|
||||
Reference in New Issue
Block a user