Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mark 0.2.0 for both sleight and lein-sleight

  • Loading branch information...
commit 90dc4ab97a8bb42ccfe35496956ecc426c1cecd2 1 parent c90a329
@ztellman authored
Showing with 8 additions and 8 deletions.
  1. +5 −5 README.md
  2. +1 −1  lein-sleight/project.clj
  3. +2 −2 project.clj
View
10 README.md
@@ -20,9 +20,9 @@ Maybe!
Sleight can be used via the `lein-sleight` plugin.
-To use in all projects, add `[lein-sleight "0.2.0-SNAPSHOT"]` to the `:plugins` vector of your `:user` profile in `~/.lein/profiles.clj`.
+To use in all projects, add `[lein-sleight "0.2.0"]` to the `:plugins` vector of your `:user` profile in `~/.lein/profiles.clj`.
-To use for a specific project, add `[lein-sleight "0.2.0-SNAPSHOT"]` to the `:plugins` vector in `project.clj`.
+To use for a specific project, add `[lein-sleight "0.2.0"]` to the `:plugins` vector in `project.clj`.
---
@@ -43,9 +43,9 @@ Then, in your `project.clj`, add something like this:
```clj
(project your-project "1.0.0"
- :sleight {:default {:transforms [a.namespace/reverse-everything]}
- :partial {:transforms [a.namespace/reverse-everything]
- :namespaces ["another.namespace*"]}})
+ :sleight {:default {:transforms [a.namespace/reverse-vectors]}
+ :partial {:transforms [a.namespace/reverse-vectors]
+ :namespaces ["another.namespace*"]}})
```
The `:transforms` key maps onto a list of transforms, which are applied left to right. The `:namespaces` key maps onto a list of namespace filters, which confines the transformation to namespaces which match one of the filters.
View
2  lein-sleight/project.clj
@@ -1,4 +1,4 @@
-(defproject lein-sleight "0.2.0-SNAPSHOT"
+(defproject lein-sleight "0.2.0"
:description "A plugin for whole-program transformations via sleight"
:license {:name "MIT License"}
:eval-in-leiningen true
View
4 project.clj
@@ -1,9 +1,9 @@
-(defproject sleight "0.2.0-SNAPSHOT"
+(defproject sleight "0.2.0"
:description "whole-program transformations for clojure"
:dependencies []
:profiles {:dev {:dependencies [[org.clojure/clojure "1.5.1"]
[riddley "0.1.5-SNAPSHOT"]]}}
- :plugins [[lein-sleight "0.2.0-SNAPSHOT"]]
+ :plugins [[lein-sleight "0.2.0"]]
:sleight {:default {:transforms [sleight.transform-test/make-odd]}
:identity {:transforms []}}
:test-selectors {:make-odd :make-odd
Please sign in to comment.
Something went wrong with that request. Please try again.