Skip to content

Commit

Permalink
release 1.2.5-6: fixes pretty-print option
Browse files Browse the repository at this point in the history
  • Loading branch information
martinklepsch committed Jul 29, 2015
1 parent 23afcc0 commit 13e44a1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Provides the `garden` task, which compiles Garden to CSS.

[](dependency)
```clojure
[org.martinklepsch/boot-garden "1.2.5-5"] ;; latest release
[org.martinklepsch/boot-garden "1.2.5-6"] ;; latest release
```
[](/dependency)

Expand Down
2 changes: 1 addition & 1 deletion build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

(require '[adzerk.bootlaces :refer [bootlaces! build-jar push-release]])

(def +version+ "1.2.5-5")
(def +version+ "1.2.5-6")

(bootlaces! +version+)

Expand Down
7 changes: 4 additions & 3 deletions example/build.boot
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(set-env!
:source-paths #{"src"}
:dependencies '[[org.martinklepsch/boot-garden "1.2.5-5"]])
:dependencies '[[org.martinklepsch/boot-garden "1.2.5-6"]])

(require '[org.martinklepsch.boot-garden :refer [garden]])

(task-options! garden {:styles-var 'stylesheet/combined
:output-to "public/css/garden.css"})
(task-options! garden {:styles-var 'stylesheet/combined
:output-to "public/css/garden.css"
:pretty-print false})
2 changes: 1 addition & 1 deletion example/src/stylesheet.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[garden.def :as gdn]))

(gdn/defstyles screen
[:body
[:body
{:font-family "Helvetica Neue"
:font-size "16px"
:line-height 1.5}])
Expand Down
2 changes: 1 addition & 1 deletion src/org/martinklepsch/boot_garden.clj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
(pod/with-eval-in c-pod
(require '~ns-sym)
(garden.core/css {:output-to ~(.getPath out)
:pretty-print ~pretty-print
:pretty-print? ~pretty-print
:vendors ~vendors
:auto-prefix ~auto-prefix} ~css-var))))
(-> fileset (boot/add-resource tmp) boot/commit!))))

0 comments on commit 13e44a1

Please sign in to comment.