Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/leiningen Lein 2 compatible lein-dieter-precompile

Dieter precompile - a leiningen plugin

A leiningen plugin for precompiling assets using Dieter, similar to Rails' rake asset-precompile.


In :plugins, add:

[lein-dieter-precompile "0.2.0"]



lein dieter-precompile

and that's all. Unless you changed dieter's default settings, in which case you must tell lein-dieter-precompile where to find the settings for your project. In which case, add :dieter-options to your project.clj file. There are a few options for expression :dieter-options:

1. A string containing the name of a var in your project, where the var is expected to hold the dieter-options map:

  :dieter-options "circle.http.assets/dieter-options"

2. A string containing the name of a function in your project, where the function returns a dieter-optinos map:

  :dieter-options "circle.http.assets/dieter-options-fn"

3. A map containing the dieter options

  :dieter-options {:production true}
Something went wrong with that request. Please try again.