Mike McQuaid
a1f112f3fe
Move o*
output methods to Utils::Output
...
This reduces the surface area of our `Kernel` monkeypatch and removes
the need to `include Kernel` in a bunch of modules.
While we're here, also move `Kernel#require?` to `Homebrew` and fully
scope the calls to it.
2025-08-20 19:20:19 +01:00
Douglas Eichelberger
9e3e1e1847
Namespace some top-level constants
2024-12-11 11:04:55 -08:00
Caleb Xu
985cc83008
utils/gzip: enable strict typing
2024-04-28 02:37:18 -04:00
Mike McQuaid
ea2892f8ee
brew.rb: handle missing args.
2024-03-07 16:20:20 +00:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Douglas Eichelberger
7fdd75ad41
brew style --fix
2023-04-17 11:00:55 -07:00
Douglas Eichelberger
09c679e75f
Refactor module_function to reduce rbi need
2023-04-17 10:37:59 -07:00
Caleb Xu
8d51f806c5
utils/gzip: don't mark API as private
2023-03-16 00:00:54 -04:00
Carlo Cabrera
55c75618fc
utils/gzip: set mtime = 1
when mtime == 0
.
...
This allows us to bottle formulae whose source modified time is indeed
`0`.
Needed for Homebrew/homebrew-core#123724 .
2023-02-20 22:02:58 +08:00
Caleb Xu
c75adc8238
utils/gzip: introduce new module
2023-01-06 22:58:22 -05:00