Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less and dieter-precompile #52

Open
shishkin opened this issue May 23, 2013 · 0 comments
Open

Less and dieter-precompile #52

shishkin opened this issue May 23, 2013 · 0 comments

Comments

@shishkin
Copy link

I'm trying to precompile Less assets with lein dieter-precompile and the following project.clj:

  :plugins [[lein-dieter-precompile "0.2.0"]]
  :dieter-options {:production true
                   :compress true
                   :cache-mode :production
                   :asset-roots ["resources"]
                   :cache-root "resources/asset-cache"
                   :precompiles ["./assets/stylesheets/screen.less"]}

I get nothing in ./resources/asset-cache/ and this is the stdout:

options= (clojure.core/let [opt__112__auto__ {:precompiles [./assets/stylesheets/screen.less], :asset-roots [resources], :cache-mode :production, :compress true, :production true, :cache-root resources/asset-cache}] (clojure.core/cond (clojure.core/map? opt__112__auto__) opt__112__auto__ (clojure.core/string? opt__112__auto__) (clojure.core/let [val__113__auto__ (clojure.core/let [pair__108__auto__ (clojure.core/map clojure.core/symbol (clojure.string/split {:precompiles [./assets/stylesheets/screen.less], :asset-roots [resources], :cache-mode :production, :compress true, :production true, :cache-root resources/asset-cache} #"/")) ns__109__auto__ (clojure.core/first pair__108__auto__) sym__110__auto__ (clojure.core/second pair__108__auto__)] (clojure.core/require ns__109__auto__) (clojure.core/deref (clojure.core/ns-resolve ns__109__auto__ sym__110__auto__)))] (clojure.core/cond (clojure.core/map? val__113__auto__) val__113__auto__ (clojure.core/fn? val__113__auto__) (val__113__auto__)))))

I tried empty :dieter-options and a ./resources/assets/stylesheets/screen.css.dieter file, all with the same empty result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant