Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nbeloglazov/lein-garden
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeloglazov committed Oct 10, 2013
2 parents 6aa5226 + 6ad9a6d commit f693976
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
@@ -1,8 +1,8 @@
# garden

A Leiningen plugin for [garden] lib that automatically compiles garden files to css.
A Leiningen plugin for compiling [garden](https://github.com/noprompt/garden) to css.

## Usage
## Install

Add lein-garden to plugins section in `project.clj`:

Expand All @@ -17,6 +17,13 @@ Add garden config to `project.clj`:
:output-path "resources/css"}
```

### Usage

lein-garden provides 2 tasks:

* `lein garden once` - compiles garden files to css once
* `lein garden auto` - compiles garden files to css on every change

## File format

Garden files are usual clojure files (*.clj). Plugin reads all expressions from clj files, evaluates them, retains vectors and garden.types.CSSAtRule values and compiles them to css.
Expand Down

0 comments on commit f693976

Please sign in to comment.