Roland Crosby d8df9c2ee9 Allow cargo build --lib
When building Rust packages that provide libraries but no executable
binaries, `cargo install` doesn't do anything; you need to use `cargo
build` and install any libraries manually. See e.g.
rust-lang/cargo#8294.

Unfortunately, Homebrew's Rubocop "use cargo install *std_cargo_args"
rule, as currently written, blocks all invocations of `cargo build`.
This commit changes that rule to exclude invocations of `cargo build`
that use the `--lib` argument (`--lib` specifies to Cargo that a
package's library targets should be built). This will enable library
packages to be built while retaining the "use cargo install
*std_cargo_args" message for the more common case when a Rust package
provides executable binaries.
2022-01-31 21:11:22 -05:00
..
2021-11-15 00:07:49 +00:00
2021-09-22 20:30:32 +08:00
2022-01-27 12:23:40 -05:00
2022-01-31 21:11:22 -05:00
2022-01-31 19:34:41 +00:00
2021-09-11 01:00:23 +01:00
2022-01-31 21:11:22 -05:00
2022-01-18 21:13:39 -05:00
2022-01-31 19:30:41 +00:00
2021-09-07 14:13:19 -04:00
2021-10-22 20:07:24 +08:00
2021-12-24 21:15:21 -05:00
2021-10-31 15:43:13 -04:00
2021-09-11 01:00:23 +01:00
2022-01-18 17:42:40 +08:00
2021-11-08 19:13:42 -05:00
2021-09-11 01:00:23 +01:00
2021-11-13 15:00:10 -05:00
2021-11-30 14:29:22 +01:00
2021-09-11 01:00:23 +01:00
2021-09-11 01:00:23 +01:00
2021-09-20 14:12:30 +01:00
2021-11-24 01:06:27 +08:00
2021-08-06 14:03:00 +01:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!