Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Update cljfmt to v0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrenklint committed Apr 9, 2017
1 parent 2a01be1 commit 72506c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.1.0 - 2017-04-09

- Update [cljfmt](github.com/weavejester/cljfmt) to v0.5.6

## v1.0.0 - 2017-04-09

- Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Boot task to automatically fix Clojure(Script) syntax formatting with cljfmt
[![CircleCI](https://circleci.com/gh/adamrenklint/boot-fmt.svg?style=svg)](https://circleci.com/gh/adamrenklint/boot-fmt)

```clojure
[adamrenklint/boot-fmt "1.0.0"] ;; latest release
[adamrenklint/boot-fmt "1.1.0"] ;; latest release
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions build.boot
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(def project 'adamrenklint/boot-fmt)
(def version "1.0.0")
(def version "1.1.0")

(set-env!
:source-paths #{"src"}
:dependencies '[[cljfmt "0.3.0"]
:dependencies '[[cljfmt "0.5.6"]
[adzerk/bootlaces "0.1.13" :scope "test"]])

(require '[adzerk.bootlaces :refer :all]
Expand Down
2 changes: 1 addition & 1 deletion src/adamrenklint/boot_fmt.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(let [reformat-string (resolve 'cljfmt.core/reformat-string)
file (resolve 'clojure.java.io/file)
fmt-file (fn [f]
(println "Formatting" (.getName f))
(println "Formatting" (.getPath f))
(spit f (reformat-string (slurp f))))
clj-file? (fn [f]
(and (.exists f) (.isFile f) (not (.isHidden f))
Expand Down

0 comments on commit 72506c4

Please sign in to comment.