Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Run multiple leiningen tasks in parallel.
Clojure
tree: 1b4e799dde

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/leiningen
.gitignore
README.md
project.clj Inc version because clojars version got corrupted.

README.md

lein-pdo

A leiningen plugin for running multiple tasks in parallel. This is primarily useful for running multiple tasks where one or more would normally block forever, preventing future tasks from executing.

If you like this, yell at @technomancy and make him put it in leiningen proper.

This task does not work with < lein 2.

Usage

Put [lein-pdo "0.1.1"] into the :plugins vector of your :user profile.

You can use it just like the do task:

lein pdo cljsbuild auto, repl

If you had used the do task, cljsbuild would block forever and the repl task would never execute. With pdo, cljsbuild auto runs inside of a future and the repl task (or any task in the last position) runs in the main thread, doing what you want.

License

Copyright © 2012 Anthony Grimes

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.