module Buildr::Build

Public Instance Methods

build(*prereqs) → task click to toggle source
build { |task| .. } → task

Returns the project’s build task. With arguments or block, also enhances that task.

# File lib/buildr/core/build.rb, line 88
def build(*prereqs, &block)
  task('build').enhance prereqs, &block
end
clean(*prereqs) → task click to toggle source
clean { |task| .. } → task

Returns the project’s clean task. With arguments or block, also enhances that task.

# File lib/buildr/core/build.rb, line 97
def clean(*prereqs, &block)
  task('clean').enhance prereqs, &block
end
reports() click to toggle source

Deprecated: Use +path_to(:reports)+ instead.

# File lib/buildr/core/build.rb, line 72
def reports()
  Buildr.application.deprecated 'Use path_to(:reports) instead'
  layout.expand(:reports)
end
reports=(dir) click to toggle source

Deprecated: Use Layout instead.

# File lib/buildr/core/build.rb, line 78
def reports=(dir)
  Buildr.application.deprecated 'Use Layout instead'
  layout[:reports] = _(dir)
end
target() click to toggle source

Deprecated: Use +path_to(:target)+ instead.

# File lib/buildr/core/build.rb, line 60
def target
  Buildr.application.deprecated 'Use path_to(:target) instead'
  layout.expand(:target)
end
target=(dir) click to toggle source

Deprecated: Use Layout instead.

# File lib/buildr/core/build.rb, line 66
def target=(dir)
  Buildr.application.deprecated 'Use Layout instead'
  layout[:target] = _(dir)
end