module Rum::DSL

Defines the DSL methods for Rum Runner.

Private Instance Methods

rum(*args, &block) click to toggle source

Rum base task block.

Example

rum :amancevice/rumrunner do
  tag %x(git describe --tags --always)
  # ...
end
# File lib/rumrunner/dsl_definition.rb, line 23
def rum(*args, &block)
  name, _, deps = Rake.application.resolve_args(args)
  path, home = deps
  Manifest.new(name: name, path: path, home: home, &block).install
end