Permalink
Browse files

support clojure 1.3 and use lein-multi to test

  • Loading branch information...
1 parent 29e7bf1 commit d4a1c0aef637de1aa12517b958324dab61eb7feb @dakrone dakrone committed Sep 15, 2011
Showing with 7 additions and 5 deletions.
  1. +3 −1 project.clj
  2. +4 −4 src/robert/bruce.clj
View
@@ -1,3 +1,5 @@
(defproject robert/bruce "0.8.0-SNAPSHOT"
:description "trampolining retries for clojure"
- :dependencies [[org.clojure/clojure "1.2.0"]])
+ :dependencies [[org.clojure/clojure "1.2.0"]]
+ :dev-dependencies [[lein-multi "1.0.0"]]
+ :multi-deps {"1.3" [[org.clojure/clojure "1.3.0-RC0"]]})
View
@@ -78,10 +78,10 @@ number as a result"
(decay options)
identity)))
-(def *first-try* nil)
-(def *last-try* nil)
-(def *try* nil)
-(def *error* nil)
+(def ^{:dynamic true} *first-try* nil)
+(def ^{:dynamic true} *last-try* nil)
+(def ^{:dynamic true} *try* nil)
+(def ^{:dynamic true} *error* nil)
(defn retry
"internal function that will actually retry with the specified options"

0 comments on commit d4a1c0a

Please sign in to comment.