Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
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
cb2a09e65e
Fix (auto-correct) more RSpec/BeNil
offenses
...
- The `RSpec/BeEq` auto-corrections made more `RSpec/BeNil` offenses, so another go of `brew style --only=RSpec/BeNil --fix\` is needed.
2022-03-01 00:36:37 +00:00
Issy Long
72e48024f0
Fix (auto-correct) RuboCop Rspec/BeEq
offenses
2022-03-01 00:10:14 +00:00
Issy Long
ead84825a6
test: Fix all RSpec/RepeatedExampleGroupDescription offenses
2021-02-21 14:06:24 +00:00
Seeker
1d710047a5
formula: add more tests for shared_library
2020-12-24 09:05:46 -08:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
2e5272d04c
Deprecate/disable code for Homebrew 2.5.0.
...
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Michka Popoff
955bca6574
formule: add generic shared-lib methods
...
We have strings containing hardcoded ".dylib" extensions in homebrew-core.
To be able to bring linuxbrew-core and homebrew-core closer together,
I am introducing a new generic attribute that can be used in formulae.
2020-06-20 23:14:18 +02:00
Michka Popoff
3ad9009937
on_os block: test support for patches
2020-06-10 19:29:52 +02:00
Michka Popoff
2a50ef045f
on_os blocks: remove url tests
...
This is not allowed by the style audit, and we do not want
to allow different source url's depending on the os.
2020-06-10 19:29:52 +02:00
Michka Popoff
1f8ebf5d20
resource: allow on_os blocks
2020-06-10 19:29:04 +02:00
Bo Anderson
eb303dd654
software_spec: add uses_from_macos since bound
2020-04-28 16:45:32 +01:00
Michka Popoff
c7927f5af5
formula: add linux and macos only function blocks
2020-04-12 23:51:41 +02:00
Mike McQuaid
0c1b556196
uses_from_macos: remove before/after.
...
We're not actually using this anywhere and it makes the code
more complicated.
Relatedly, this PR fixes the issue where
`uses_from_macos "python@2" => :build` was valid on macOS but not
on Linux.
2019-12-19 14:36:33 +00:00
Gabriel
01c5bc48d2
Create extended os formula specs
2019-06-03 15:52:53 -03:00