Commit Graph

5 Commits

Author SHA1 Message Date
Roland Walker 329c48298a caveats first-class in DSL, gets own mini-DSL
Make caveats a first-class member of the Cask DSL.  It no longer has to
be specified with "def caveats", but can be given as "caveats do ... end"
as with after_install blocks.

In addition, create a mini-DSL which can be used within caveats blocks,
providing standard messages when manual installers must be used,
reboot-required, etc.

Add alternate form: caveats can also accept a compile-time string for
simple cases.

This is 99% compatible with old Casks, as it still works by defining
a caveats method.  However, all Casks containing caveats are cleaned
up and adapted according to the new DSL.

Full docs in CONTRIBUTING.md.
2014-01-20 11:54:46 -05:00
Colin Dean 6e398ca9b2 Add PATH caveats to MacTeX Cask
Warns user that they may need to add the mactex `/usr/texbin` directory to their
PATH manually, as the package does not seem to do this or symlink automatically.

Fixes #2277.

See also [this comment](https://github.com/phinze/homebrew-cask/pull/2284#commitcomment-4974770)
on #2284 for more information.
2014-01-03 20:11:40 -05:00
Tom Vincent a6e0436df7 sha1 -> no_checksum: formula uses latest scheme 2013-10-17 14:06:35 +01:00
Tom Vincent f1da99d13c Fix install pkg name 2013-10-17 13:47:44 +01:00
Tom Vincent 4779bd224f Add MacTeX 2013-10-17 13:44:42 +01:00