ruby-win32/lib/ruby/gems/1.8/gems/mongrel_service-0.3.4-x86-mswin32/tools/freebasic.rb
# Adds dependencies in the parent namespace

Adds dependencies in the parent namespace
Adds dependencies in the parent namespace
def add_dependencies_to_main_task
        desc 'Build all projects' unless task( :build ).comment
        task :build => "#{@name}:build"
        desc 'Clobber all projects' unless task( :clobber ).comment
        task :clobber => "#{@name}:clobber"
        desc 'Rebuild all projects' unless task( :rebuild ).comment
        task :rebuild => ["#{@name}:clobber", "#{@name}:build"]
      end
def add_dependencies_to_main_task desc 'Build all projects' unless task ( :build ) . comment task :build => "#{@name}:build" desc 'Clobber all projects' unless task ( :clobber ) . comment task :clobber => "#{@name}:clobber" desc 'Rebuild all projects' unless task ( :rebuild ) . comment task :rebuild => [ "#{@name}:clobber" , "#{@name}:build" ] end
Adds dependencies in the parent namespace
Adds dependencies in the parent namespace