module Buildr::Test::SkipIfNoTest

We define a module inline that will inject cancelling the task if tests are skipped.

Public Class Methods

extended(base) click to toggle source
# File lib/buildr/core/test.rb, line 677
def self.extended(base)
  base.instance_eval {alias :execute_before_skip_if_no_test :execute}
  base.instance_eval {alias :execute :execute_after_skip_if_no_test}
end