Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

support clojure 1.3 and use lein-multi to test

  • Loading branch information...
commit d4a1c0aef637de1aa12517b958324dab61eb7feb 1 parent 29e7bf1
Lee Hinman dakrone authored

Showing 2 changed files with 7 additions and 5 deletions. Show diff stats Hide diff stats

  1. +3 1 project.clj
  2. +4 4 src/robert/bruce.clj
4 project.clj
... ... @@ -1,3 +1,5 @@
1 1 (defproject robert/bruce "0.8.0-SNAPSHOT"
2 2 :description "trampolining retries for clojure"
3   - :dependencies [[org.clojure/clojure "1.2.0"]])
  3 + :dependencies [[org.clojure/clojure "1.2.0"]]
  4 + :dev-dependencies [[lein-multi "1.0.0"]]
  5 + :multi-deps {"1.3" [[org.clojure/clojure "1.3.0-RC0"]]})
8 src/robert/bruce.clj
@@ -78,10 +78,10 @@ number as a result"
78 78 (decay options)
79 79 identity)))
80 80
81   -(def *first-try* nil)
82   -(def *last-try* nil)
83   -(def *try* nil)
84   -(def *error* nil)
  81 +(def ^{:dynamic true} *first-try* nil)
  82 +(def ^{:dynamic true} *last-try* nil)
  83 +(def ^{:dynamic true} *try* nil)
  84 +(def ^{:dynamic true} *error* nil)
85 85
86 86 (defn retry
87 87 "internal function that will actually retry with the specified options"

0 comments on commit d4a1c0a

Please sign in to comment.
Something went wrong with that request. Please try again.