Create tasks

Packnga’s classes has charge of each tasks.
This table describes Packnga’s classes.

Packnga::DocumentTask

This class create tasks for generating references.
It define tasks to generate YARD documentation and po files.
It also defines tasks to translate documents with po files.

Packnga::ReleaseTask

This class create tasks for uploading references and package and preparing to upload them.
It defines a task to tag the current version in git and a task to user-install gem for test.

Please see below for creating tasks.

Packnga::DocumentTask.new(spec)Packnga::ReleaseTask.new(spec)

Set the document path.

You can set parameters with block when creating object of Packnga::DocumentTask and Releasetask.
For example, We introduce to how to set base directory for document.
Document is created in this directory.
You can write Rakefile to set this directory path, see below.