Clojure-Control plugin for leiningen

Clojure-Control is the clojure port of node-control, developed by killme2008. Clojure-Control allows you to define clusters and tasks in a DSL and execute them with simple command.

Lein-control is a leiningen(clojure build tool) plugin, with which you can integrate Clojure-Control into your build tasks. It could be helpful to execute deployment tasks on several machines.

To use lein-control, simply add this to your project.clj . And download dependencies with lein deps.
:dev-dependencies [[lein-control "0.1.0"]]

Create a sample control file in your project home:
lein control init

Check your cluster configuration:
lein control show cluster-name

Execute tasks against particular cluster:
lein control run cluster-name task-name

Enjoy your deployment !

One thought on “Clojure-Control plugin for leiningen

  1. Pingback: Sun Ning (@Sunng) (@Sunng) (@Sunng)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>