19 Commits

Author SHA1 Message Date
Maxim Belkin
4d672d1759 os/linux.rb: don't show codename when it's n/a 2020-12-01 10:36:08 -06: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
Mike McQuaid
d2dcc41717 os/linux: add more Xcode stubs.
Saw these on a random user report.
2020-09-01 12:49:19 +01:00
Markus Reiter
5410701eff Document OS::Mac and OS::Linux. 2020-08-26 03:13:59 +02:00
Mike McQuaid
90cf01e245
os/linux: add no-op MacOS.sdk_path method.
Fixes https://github.com/Homebrew/linuxbrew-core/issues/20938
2020-08-17 16:13:28 +01:00
Jonathan Chang
76709d82c5 Fix brew style. 2020-07-13 23:24:14 +10:00
vidusheeamoli
d6e587453e srb: resolve error 4015. 25 errors => 18 errors 2020-06-22 16:33:44 +05:30
Mike McQuaid
ef95b59ed4
Remove HomebrewArgvExtension
Fixes #5730
2020-05-23 19:39:11 +01:00
Mike McQuaid
6aca5a6c6d
os/linux: add MacOS::CLT.version.
This allows formulae with this to be read on Linux.
2020-04-30 16:07:55 +01:00
Bo Anderson
1fe0212ff2 os/mac: add sdk_root_needed? and sdk_for_formula 2020-04-07 17:22:13 +01:00
Dawid Dziurla
e097dcedb4
os/linux: implement sdk_path_if_needed 2020-03-10 16:24:17 +01:00
Mike McQuaid
47769f98f1
os/linux: add, use OS::Linux.os_version
Similar to MacOS.version. A bit cleaner for us here but also plan on
using this in Homebrew/homebrew-bundle.
2019-09-13 16:48:13 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations. 2019-04-19 21:46:20 +09:00
EricFromCanada
4fd398b862 linux.rb: define language/languages methods 2019-03-26 17:14:12 -04:00
Mike McQuaid
170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Shaun Jackman
c480dd39a9 Warn if os/linux is loaded on generic OS 2018-08-13 23:38:48 -07:00
Shaun Jackman
73ba9b3d88 Define OS::Mac on Linux
Define MacOS.version, MacOS.full_version, and MacOS::Xcode.version to
Version::NULL on Linux so that brew readall succeeds and Homebrew/brew
can tap Homebrew/core on Linux.
2018-02-20 11:22:40 -08:00