2013-04-29 03:20:03 +08:00
|
|
|
# Frequently Asked Questions
|
|
|
|
|
|
|
|
## What is a Cask?
|
|
|
|
|
|
|
|
A `Cask` is like a `Formula` in Homebrew except it describes how to download
|
2014-02-25 00:31:53 +08:00
|
|
|
and install a binary application. To learn how to write a Cask, see
|
2014-03-08 07:08:38 +08:00
|
|
|
[CONTRIBUTING.md](../CONTRIBUTING.md). For a complete reference, see
|
|
|
|
[CASK_LANGUAGE_REFERENCE.md](CASK_LANGUAGE_REFERENCE.md).
|
2013-04-29 03:20:03 +08:00
|
|
|
|
2013-12-08 02:16:58 +08:00
|
|
|
## What's the status of this project? Where's it headed?
|
2013-04-29 03:20:03 +08:00
|
|
|
|
|
|
|
The idea is for each Cask to encapsulate and automate the story of how a given
|
2013-12-08 02:16:58 +08:00
|
|
|
application should be installed. Join us in building up a community-maintained
|
2013-04-29 03:20:03 +08:00
|
|
|
collection of Casks that is striving to become the standard way that hackers
|
|
|
|
install Mac apps.
|
|
|
|
|
|
|
|
## Can I contribute?
|
|
|
|
|
2013-12-08 02:16:58 +08:00
|
|
|
__Yes, yes, yes!__ Please fork/pull request to update Casks, add features and
|
2013-07-29 02:16:55 +08:00
|
|
|
clean up documentation! Anything you can do to help out is very welcome.
|
2013-04-29 03:20:03 +08:00
|
|
|
|
2014-03-08 07:08:38 +08:00
|
|
|
It's also [__pretty darn easy__ to create Casks](../CONTRIBUTING.md), so
|
2014-01-18 09:14:48 +08:00
|
|
|
please build more of them for the software you use. And if homebrew-cask doesn't
|
2014-05-03 23:16:12 +08:00
|
|
|
support the packaging format of your software, please [open an issue](https://github.com/caskroom/homebrew-cask/issues)
|
2013-04-29 03:20:03 +08:00
|
|
|
and we can get it working together.
|
|
|
|
|
|
|
|
The whole idea is to build a _community-maintained_ list of easily installable
|
|
|
|
packages, so the community part is important! Every little bit counts.
|
|
|
|
|
|
|
|
|
|
|
|
## Why use Homebrew's Cellar? Why not just manage apps directly in Applications?
|
|
|
|
|
|
|
|
The short answer to this would be: for the same reason that Homebrew does not
|
|
|
|
install applications directly into /usr/local.
|
|
|
|
|
|
|
|
We don't know up-front precisely what files are going to be in the
|
|
|
|
dmg/zip/tgz/etc, so it's really helpful to have a place to dump all of them
|
2013-12-08 02:16:58 +08:00
|
|
|
safely, then iterate through and act on the files we care about. For an `.app` file
|
|
|
|
this may be symlinking it into `~/Applications` or `/Applications`, for a `.pkg` file
|
2014-02-04 00:20:57 +08:00
|
|
|
this might be running the installer. For a Screen Saver it may be symlinking it
|
2013-04-29 03:20:03 +08:00
|
|
|
into the appropriate directory for it to show up in System Preferences.
|
|
|
|
|
|
|
|
The reason we implement this project on top of Homebrew was based on a belief
|
|
|
|
that their methodology for managing applications has a lot of merit. We'd
|
|
|
|
prefer to try and work things so that we can keep ourselves Homebrewy both in
|
2013-12-08 02:16:58 +08:00
|
|
|
implementation and idioms. Trying to manage all of `~/Applications` would move
|
2013-04-29 03:20:03 +08:00
|
|
|
the project more towards a standalone system, which would mean reimplementing a
|
|
|
|
lot of the Homebrew stuff we lean on now.
|