Permalink
Browse files

Removed obsolete cuke.clj

  • Loading branch information...
1 parent 47f5ac3 commit 5a16f3851a0f6a8e1a586e65e0eb9f5dd3149622 @nilswloka nilswloka committed Apr 29, 2012
Showing with 0 additions and 28 deletions.
  1. +0 −28 clojure/src/main/clj/leiningen/cuke.clj
@@ -1,28 +0,0 @@
-(ns leiningen.cuke
- (:require [leiningen.compile :as lc]
- [leiningen.core :as c]))
-
-(defn cuke
- "runs cucumber"
- [project]
- ;; basically a reimplimentation of cli.Main that doesn't annoyingly
- ;; call System/exit
- (lc/eval-in-project
- project
- `(let [~'runtime (cucumber.runtime.Runtime.
- (list* ["test/cucumber"])
- (cucumber.io.FileResourceLoader.) false)
- mformatter# (doto (cucumber.formatter.MultiFormatter.)
- (.add (.createFormatter
- (cucumber.formatter.FormatterFactory.)
- "pretty" System/out)))
- formatter# (.formatterProxy mformatter#)]
- (.run ~'runtime
- (list* ["test/cucumber/features"])
- (list)
- formatter#
- (.reporterProxy mformatter#))
- (.done formatter#)
- (println)
- ~(when-not c/*interactive?*
- `(System/exit (.exitStatus ~'runtime))))))

0 comments on commit 5a16f38

Please sign in to comment.