Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2eee580d53

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
src/leiningen
.gitignore
README.md
project.clj

README.md

Dieter precompile - a leiningen plugin

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

Installation

In :dev-dependencies, add:

[lein-dieter-precompile "0.1"]

Usage

Run

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.