Douglas Eichelberger
004c0a2a6c
Refactor exec.rb type fixes
2025-06-29 09:02:24 -07:00
Bo Anderson
98fb5f9dea
Don't assume ENV is a superenv in RBI
2024-08-23 05:59:00 +01:00
Douglas Eichelberger
b56e0b733d
Port Homebrew::Cmd::Env
2024-04-01 15:58:07 -07:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Douglas Eichelberger
b7d2953412
enable typing in --env
2023-03-03 19:12:33 -08:00
Douglas Eichelberger
e63111a7b5
resolve type error in --env
2023-03-03 18:41:19 -08:00
Sean Molenaar
2de6958a36
build_environment: add proper types to dump() and fix inreplace error
2022-08-15 19:03:55 +02:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args
2021-03-18 16:41:57 +00:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Markus Reiter
1b9002c04a
Fix type errors in postinstall
.
2020-11-29 21:23:54 +01:00
Markus Reiter
6750448d95
Fix some auto-correctable type errors.
2020-11-29 21:23:54 +01:00
Markus Reiter
70dd41cfd8
Add type signatures to BuildEnvironment
.
2020-11-19 16:07:50 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
William Ma
fa7bd3bff6
args: Migrate usage of args loading methods to args.named
2020-08-23 09:02:20 -04:00
Markus Reiter
b5363025a6
Refactor and document BuildEnvironment
.
2020-08-14 18:41:44 +02:00
Markus Reiter
276c570c16
Pass individual args explicitly to ENV
extensions.
2020-07-28 02:52:45 +02:00
Markus Reiter
25b3632c4c
Pass args
to ENV
instead of using global args
.
2020-07-25 03:57:43 +02:00
Mike McQuaid
4f75a77b08
Update deprecations
...
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
EricFromCanada
c246207ba0
cmd: updates for command descriptions
2019-12-13 15:24:00 -05:00
Gautham Goli
22e25dd593
argv: move formulae to cli/args
2019-12-11 16:36:23 +05:30
R Primus
5ffc7e9d66
Change spelling of [Ss]ummarize to British english
2019-10-30 18:52:02 +00:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
EricFromCanada
a3e0647797
manpages: whitespace fixes
2019-08-20 08:24:20 -04:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
515d4c023d
--env: use CLI::Parser.
2019-01-30 21:38:44 +00:00
Mike McQuaid
74c77db5bd
shell: tweak export_value parameters.
...
Let’s have a default value for shell (considering this isn’t a public
API) to make it easier to use.
2018-07-26 10:48:25 +01:00
EricFromCanada
1d2b4ed321
docs: add more missing option descriptions
...
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Greg Nisbet
bf63c08d50
tests for shell-specific diagnostic message
2016-08-10 23:21:30 -07:00
Greg Nisbet
9a29a306cf
resolve conflict in diagnostic.rb
2016-08-10 23:19:09 -07:00
Martin Afanasjew
a3352c000e
--env: move help to documentation comment
2016-04-20 13:45:26 +02:00
Baptiste Fontaine
24a1eeceb3
Common build environment methods moved in build_environment.rb
...
Closes Homebrew/homebrew#45966 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-17 00:17:22 +01:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Jack Nagel
7edf3c88f6
Pass formula objects, not strings, into the build environment
2015-06-18 23:13:48 -04:00
Jack Nagel
accd72b290
Log build environment on failure
2014-12-30 23:47:07 -05:00
Jack Nagel
976bb9b057
Print each line of --env output atomically
2014-09-14 01:39:38 -05:00
Jack Nagel
529b060dbb
Remove unnecessary conditional
...
If ARGV.named.empty?, then ARGV.formulae.map(&:name) == [].
2014-09-14 01:26:45 -05:00
Jack Nagel
909c2bd59e
Replace loop + delete with array difference
2014-09-13 20:04:05 -05:00
Jack Nagel
83b9043c8e
Remove more unused requires
2014-06-19 19:15:35 -05:00
Jack Nagel
10a1952d2c
Only "extend self" once on the Homebrew module
2014-06-19 13:10:36 -05:00
Jack Nagel
fe597c00df
Don't fetch the value just to throw it away
2014-05-20 23:18:18 -05:00
Jack Nagel
2d049ae05b
Stop using superenv? method to dump ENV
2014-05-20 23:16:52 -05:00
Jack Nagel
ad7adcee97
Remove dead code
2014-05-20 19:12:06 -05:00