module Webgen::Task::CreateBundle

Creates an extension bundle.

An extension bundle is a collection of webgen extensions. This task can either create a local bundle (in the ext directory of the current website) or a bundle which can be distributed via Rubygems.

Constants

TEMPLATE_DIR

Public Class Methods

call(website, name, type, directory = name)

Create an extension bundle with the given name and of the given type (either :local or :gem).

If the type is :gem, the directory in which the bundle should be created can optionally be specified.

Returns true if the bundle has been created.