Skip to content

Commit

Permalink
porting build to lein.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradford committed Dec 5, 2009
1 parent f7bca7c commit 8975af3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 122 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
build
target
out
lib
pom.xml
# use glob syntax.
syntax: glob
*.ser
Expand Down
116 changes: 0 additions & 116 deletions pom.xml

This file was deleted.

8 changes: 8 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(defproject cascading-clojure "1.0-SNAPSHOT"
:description "clojure lib for cascading"
:dependencies [[org.clojure/clojure-contrib "1.0-SNAPSHOT"]
[commons-cli/commons-cli "1.2"]
[cascading/cascading "1.0.17-SNAPSHOT"]
[jline "0.9.94"]
[org.danlarkin/clojure-json "1.1-SNAPSHOT"]]
:dev-dependencies [[org.clojure/swank-clojure "1.0"]])
1 change: 1 addition & 0 deletions src/cascading/clojure/join_bootstrap.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(ns cascading.clojure.join-bootstrap
(:require [cascading.clojure clj_iterator])
(:import [cascading.pipe.cogroup GroupClosure Joiner]
[cascading.tuple Tuple]
[cascading.clojure CljIterator]))
Expand Down
2 changes: 2 additions & 0 deletions src/cascading/clojure/pipes.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(ns cascading.clojure.pipes
(:require [cascading.clojure function_filter_bootstrap function_bootstrap
join_bootstrap aggregation_bootstrap])
(:import [cascading.clojure FunctionFilterBootstrapInClojure
FunctionBootstrap AggregationBootstrap JoinBootstrap]
[cascading.pipe Each Pipe Every GroupBy CoGroup]
Expand Down
8 changes: 2 additions & 6 deletions test/cascading/clojure/hooks_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@
(:use cascading.clojure.cascading)
(:use cascading.clojure.hooks)
(:use cascading.clojure.io)
(:use cascading.clojure.testing)
(:use cascading.clojure.taps)
(:use clojure.test))

(deftest shutdown-hook
(with-tmp-files [in (temp-dir "source")
out (temp-path "sink")]
(write-lines-in in "some.data" [])))

(deftest listener-test
(def finished (ref false))
(with-tmp-files [in (temp-dir "source")
out (temp-path "sink")]
(write-lines-in in "some.data" [])
(let [fl (listen {:to (copy-flow
(test-tap in)
(test-tap out))
Expand Down

0 comments on commit 8975af3

Please sign in to comment.