Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lein plugin for clojure control
tag: 0.2.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


# lein-control

A leiningen plugin for clojure-control.

## Usage

Include the plugin in your project.clj

    (defproject YOUR-PROJECT-NAME "1.0.0-SNAPSHOT"
        :dev-dependencies [[lein-control "0.2.1"]])

lein-control 0.2.1 is compatible with clojure-control 0.2.1 .

Generate a sample control file with:

    lein control init

There will be a `control.clj` in your project home.

To define a custom control file, you have to specify the path to it in 
your project.clj

    :control {:control-file "YOUR-FILE-NAME"}

You can also find a sample control file in clojure-control project.
But there are some differences for lein-control:

* you don't have to add any (ns) (require) for lein-control
* you SHOULD NOT add (begin) in this file, lein-control will add it for you.

Check your cluster configuration:

    lein control show your-cluster

Now, you can run your task with:

    lein control run your-cluster your-task [args...]

## License

Copyright (C) 2011 Sun Ning <>

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

Something went wrong with that request. Please try again.