Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL: remove manual_installer from caveats mini-DSL #7428

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/CASK_LANGUAGE_REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Example:

```ruby
caveats do
manual_installer 'Little Snitch Installer.app'
path_environment_variable '/usr/texbin'
end
```

Expand Down
11 changes: 0 additions & 11 deletions lib/cask/caveats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,6 @@ def destination_path
# to the output by the caller, but that feature is only for the
# convenience of Cask authors. )

# todo: remove this method after DSL 1.0 transition
def manual_installer(path)
puts <<-EOS.undent
To complete the installation of Cask #{@cask}, you must also
run the installer at

'#{staged_path.join(path)}'

EOS
end

def path_environment_variable(path)
puts <<-EOS.undent
To use #{@cask}, you may need to add the #{path} directory
Expand Down