Templates

rweng edited this page Sep 2, 2011 · 1 revision
Clone this wiki locally

There are 7 templates that come with Babushka:

  • app
  • external
  • installer
  • managed
  • ppa
  • src
  • tmbundle

app

The app meta is for OS X Applications.

The following parameters can be set:

  # the URI from where to fetch the application. This can be git, tar, ziped or whatever
  accepts_list_for :source
  # the directory to install the applicaiton in. First first existing directory is taken.
  accepts_list_for :prefix, %w[~/Applications /Applications]
  accepts_list_for :extra_source
  # the executable that should be available if the dep is met
  accepts_list_for :provides, :name
  accepts_block_for :current_version do |path| nil end
  accepts_block_for :latest_version