Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Issy Long
e9d994622e
rubocop: Drop "f" from Naming/MethodParameterName
allowlist
...
- This either stands for "file" but more often than not "formula".
2023-03-11 00:17:27 +00:00
Issy Long
3a83b5492c
rubocop: Clean up Style/BlockDelimiters
excludes and autofix offenses
...
- The defaults of using "do ... end" for multi-line blocks everywhere is
good, better than switching everything to braces everywhere.
2023-03-08 23:54:22 +00:00
Douglas Eichelberger
2b8b3a5cb6
Enable RSpec/NoExpectationExample
2023-01-25 14:37:39 -08:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04.
2022-11-09 14:45:43 +00:00
Shaun Jackman
b9e1a51266
test: Update tests that mock gcc@5
2022-09-06 14:16:16 +01:00
Mike McQuaid
0cda6a0657
Only use patchelf.rb
...
Remove support for using the `patchelf` formula for writing as it's been
off by default for a long time now.
2021-10-19 15:15:56 +01:00
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc
2021-02-09 21:48:48 +01:00
Michka Popoff
3eea1434cc
bottle: tag specific cellars
2021-01-19 10:14:25 +01:00
Mike McQuaid
eb74717a9e
Fix unbottled dependency handling
...
- Rename `BuildToolsError` to `UnbottledError` to better reflect what it
does (particularly now)
- Improve the `UnbottledError` messaging
- Raise the `UnbottledError` for dependencies also when building bottles
(so that we don't try and build bottles against things that have been
built from source).
2020-12-11 16:57:47 +00:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Mike McQuaid
e5d15c8b19
Merge branch 'master' into argv-cleanup-26
2020-05-23 13:44:42 +01:00
Michelle Nguyen
2264c08cee
Fetch formula resources before unlinking during upgrade.
...
Fixes #6374 .
2020-05-11 09:37:56 +01:00
Gautham G
b40e33aeb8
ARGV: Deprecate ARGV.cc and replace with Homebrew.args.cc
2020-05-04 11:14:55 +05:30
Mike McQuaid
5dd8ead51a
Rename Formula#installed? to Formula#latest_version_installed?
...
This naming has always been a bit weird and confusing so let's change
it and provide a `compat` fallback for later deprecation.
2019-12-03 11:42:42 +00:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Shaun Jackman
605e61095a
relocation_formulae: Poured bottles depend on gcc [Linux]
2018-10-23 09:03:20 -07:00
Shaun Jackman
1b688a3a25
Relocate bottles on Linux using patchelf
...
Ensure patchelf is installed to pour bottles and build bottles.
2018-07-12 10:21:26 -07:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Markus Reiter
2ad3a87045
Silence all specs by default.
2017-07-29 20:25:37 +02:00
Markus Reiter
3cdf8f938a
Use scoped RSpec matchers.
2017-05-15 17:23:40 +02:00
Markus Reiter
83c422794a
Convert formula_installer_bottle
test to spec.
2017-02-27 23:34:35 +01:00