diff options
| author | Mike McQuaid | 2016-01-26 09:45:47 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-01-26 11:49:15 +0000 |
| commit | c2a928eb51e872661281dbf3b0cd54f07797bc40 (patch) | |
| tree | a2787dfacdde8f37baa763d9cd886c8f146cb8fa /Library | |
| parent | 21924396f0cb6fe2f93572549c34d02a89ed5d78 (diff) | |
| download | brew-c2a928eb51e872661281dbf3b0cd54f07797bc40.tar.bz2 | |
Add Haskell::Cabal#cabal_clean_lib back to compat.
We shouldn't have removed this DSL method without a compat fallback.
Closes Homebrew/homebrew#48479.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/compat.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/compat/language/haskell.rb | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb index b20e8049c..19c92a523 100644 --- a/Library/Homebrew/compat.rb +++ b/Library/Homebrew/compat.rb @@ -10,3 +10,4 @@ require "compat/download_strategy" require "compat/keg" require "compat/pathname" require "compat/dependency_collector" +require "compat/language/haskell" diff --git a/Library/Homebrew/compat/language/haskell.rb b/Library/Homebrew/compat/language/haskell.rb new file mode 100644 index 000000000..8d1b3772e --- /dev/null +++ b/Library/Homebrew/compat/language/haskell.rb @@ -0,0 +1,10 @@ +module Language + module Haskell + module Cabal + def cabal_clean_lib + # avoid installing any Haskell libraries, as a matter of policy + rm_rf lib + end + end + end +end |
