cask caveats dsl: add license

This commit is contained in:
commitay 2018-05-15 19:56:03 +10:00
parent 8ab71de3e9
commit 47fc8cb039

View File

@ -125,6 +125,13 @@ module Hbc
EOS
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|
<<~EOS
The vendor offers a free license for #{@cask} at