Hey guys, 

I am currently implementing a custom test-framework for one of my 
buildr-plugins.
I enhance the test-task with a task that automatically generates test-suites 
prior to running them. 

Something like this:

def initialize(test_task, options)
  super
  @task.compile.enhance [generate_files]
  @task.project.clean.enhance [clean_files]
end



But somehow these tasks are executed all the time, 
for example when I run "buildr clean" it will still run generate_files.

How would one go on to make these tasks adhere the buildr style of execution,
so for example when I call "buildr build test=no" that the dependencies I've 
added to the tesk task won't be invoked and so on.

Cheers, 

-- 
Dominic Graefen

Reply via email to