Merge pull request #4172 from commitay/license-caveat

cask caveats dsl: add license
This commit is contained in:
commitay 2018-05-15 20:09:17 +10:00 committed by GitHub
commit 7b31a3d024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,13 @@ module Hbc
EOS EOS
end end
caveat :license do |web_page|
<<~EOS
Installing #{@cask} means you have AGREED to the license at
#{web_page}
EOS
end
caveat :free_license do |web_page| caveat :free_license do |web_page|
<<~EOS <<~EOS
The vendor offers a free license for #{@cask} at The vendor offers a free license for #{@cask} at