Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 16, 2012
Commits on Oct 26, 2012
Commits on Oct 24, 2012
  1. Merge branch 'all-tasks-are-multitasks' of…

    …jbishop/rake into dashm
    * 'all-tasks-are-multitasks' of
      Added -m option which changes all tasks into multitasks
Commits on Oct 23, 2012
  1. Merge pull request #134 from michaeljbishop/master

    Small change to correct documentation for --execute-continue
  2. @michaeljbishop

    Small change to correct documentation for --execute-continue

    michaeljbishop authored
    The short version specified the wrong mnemonic.
  3. @michaeljbishop

    Added -m option which changes all tasks into multitasks

    michaeljbishop authored
    Adds a new method `Rake::Task#invoke_prerequisites_concurrently`.
    `Rake::MultiTask#invoke_prerequisites` always calls
    `Rake::Task#invoke_prerequisites_concurrently` and now
    `Rake::Task#invoke_prerequisites` will call it when
    `Rake.application.options.always_multitask == true`.
    Passing `-m` at the command-line sets
    `Rake.application.options.always_multitask` to `true`
Commits on Oct 18, 2012
  1. @michaeljbishop

    Added -j support to rake.

    michaeljbishop authored
    Rake now has a thread_pool implementation which returns futures when passed args
    and a block. MultiTask has been changed to ask the thread pool for a list of
    futures in which inside each a prerequisite is completed. MultiTask then waits
    on each future until it is complete.
    The number of threads in the pool is controlled with the new -j option at the
    The thread pool is now a member of Rake.application and rakefile authors can request
    futures for their own operations, participating in the pool.
    The thread pool is special in that it will spawn a new thread when a thread in the pool
    is sleeping because it is waiting for a future being completed by another thread. When
    the new thread is finished, the pool size will shrink to where it was previously.
    With this change, the pool always has a number of threads actively doing work (that
    number being equal to the -j parameter).
    This commit also includes documentation for the new -j parameter and a test for the
    ThreadPool implementation.
Commits on Feb 23, 2011
Commits on Jan 13, 2011
  1. @rtlechow

    Clean up trailing whitespace.

    rtlechow authored
Commits on Oct 27, 2008
  1. @FooBarWidget
Something went wrong with that request. Please try again.