rocks.clj/lein-give-me-my-css

Simpliest way to build sass in Leiningen project


Keywords
clojure, docker, lein-plugin, leiningen, sass
License
EPL-1.0

Documentation

lein-give-me-my-css

Simpliest way to build sass in Leiningen project (with docker).

Clojars Project

Prerequisites

This plugin requires docker to be installed and accessible for current user.

Usage

Put [rocks.clj/lein-give-me-my-css "0.1.0-SNAPSHOT"] into the :plugins vector of your project.clj.

Add sass configration to your project.clj

:give-me-my-css {:input "resources/public/scss", ;; input dir
                 :output "resources/public/css", ;; output dir
                 :style :nested, ;; style (Can be :nested (default), :compact, :compressed, or :expanded)
                 :source-map true, ;; generate source maps
                 :no-cache false} ;; use caching

Above values are default, and you don't have to provide it if you're okay with it.

To build sass once

lein give-me-my-css

To start watcher

lein give-me-my-css watch

License

Copyright © 2018 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.