Sha256: d2b7643e3bb23219dc92f3e56766d10fcca786df3843b0051245441f0aaaf485

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

module Detroit

  # Standard assembly is the default. In the vast majority of
  # cases this is all that will ever be used.
  assembly :standard do

    # Main track.
    #
    # TODO: Should :install comes before :verify b/c verfication might
    # require a local installation?
    track :main,
      :prepare,    # prepare services / ensure service requirements
      :generate,   # code generation
      :compile,    # compile source code
      :test,       # run tests and specifications
      :analyze,    # perform code analysis
      :document,   # generate documentation
      :package,    # create packages
      :verify,     # post package verification / integration tests
      :install,    # install the package locally (if need be)
      :publish,    # publish website/documentation
      :release,    # release packages
      :deploy,     # deploy system to servers
      :promote     # tell the world about your awesome work

    # The site track is a subset of the main track used to
    # isolate the distribution of documentation and uploading
    # a project's website. 
    #
    #   prepare -> generate -> analyze -> document -> publish
    #
    track :site,
      :prepare,
      :generate,
      :analyze,
      :document,
      :publish

    # The attention track is a small subset of main track, used to
    # isolate the sending of promotional materials, mainly release
    # announcements.
    #
    #   prepare -> generate -> promote
    #
    track :attn,
      :prepare,
      :generate,
      :promote

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
detroit-0.1.0 lib/detroit/standard_assembly.rb