gen_template_umbrella v0.1.0 Umbrella

Umbrella

Create a basic umbrella project.

$ mix gen umbrella «name»

To install this template:

$ mix template.install hex gen_template_umbrella

(or you don’t already have the template package install, you’ll also need to do:

$ mix archive.install hex mix_templates
$ mix archive.install hex mix_generator

this is a one-time thing).

Summary

Functions

Return the name of this template as an atom. This is the name passed to the gen command

Override this function to process command line options and set values passed into the template via assigns

Return the short description of this template, or nil

Return the absolute path to the tree that is to be copied when instantiating this template. This top-level dir will typically just contain a directory called $APP_NAME$

Functions

name()

Return the name of this template as an atom. This is the name passed to the gen command.

populate_assigns(assigns, options)

Override this function to process command line options and set values passed into the template via assigns.

short_desc()

Return the short description of this template, or nil.

source_dir()

Return the absolute path to the tree that is to be copied when instantiating this template. This top-level dir will typically just contain a directory called $APP_NAME$.