diff options
| author | Markus Reiter | 2017-03-16 22:58:21 +0100 |
|---|---|---|
| committer | GitHub | 2017-03-16 22:58:21 +0100 |
| commit | bfb5bf1d7007821c74de4252fe1ade5047e0ca3c (patch) | |
| tree | fc9991edb93017eaab5fe4b26f781a45ad909b77 /Library/Homebrew/compat | |
| parent | c4d8b1696c90fa54f0e2f4bce3c734f7a657662b (diff) | |
| parent | ed10135da4fbabca2798afe949b6f5af9544ec9f (diff) | |
| download | brew-bfb5bf1d7007821c74de4252fe1ade5047e0ca3c.tar.bz2 | |
Merge pull request #2325 from reitermarkus/better-cask-loading
Use a `Formulary`-like approach to load Casks.
Diffstat (limited to 'Library/Homebrew/compat')
| -rw-r--r-- | Library/Homebrew/compat/hbc/cask_loader.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/hbc/cask_loader.rb b/Library/Homebrew/compat/hbc/cask_loader.rb index a7c84e3ce..e6cb65b4f 100644 --- a/Library/Homebrew/compat/hbc/cask_loader.rb +++ b/Library/Homebrew/compat/hbc/cask_loader.rb @@ -12,7 +12,11 @@ module CaskLoaderCompatibilityLayer end module Hbc - class CaskLoader - prepend CaskLoaderCompatibilityLayer + module CaskLoader + class FromContentLoader; end + + class FromPathLoader < FromContentLoader + prepend CaskLoaderCompatibilityLayer + end end end |
