Skip to content

Commit

Permalink
Add leiningen project for build
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-barrett committed Oct 19, 2017
1 parent 76b4e1b commit db0a4ff
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Yieldbot's fork of Adroll's Cantor
======

https://github.com/AdRoll/cantor

Cantor
======

Expand Down Expand Up @@ -63,4 +68,4 @@ MinHash k: 4800
Error at k: 0.25
```

Additional information is available with `./utils/minhash_k.py --help`.
Additional information is available with `./utils/minhash_k.py --help`.
29 changes: 29 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
(defproject com.adroll.cantor/cantor "1.0.0"
:description "Fork of AdRoll's cantor"
:url "https://github.com/AdRoll/cantor"
:license {:name "MIT"}
:dependencies [[org.apache.hadoop/hadoop-common "2.7.3"]
[org.slf4j/slf4j-api "1.7.5"]]
:java-source-paths ["src/main/java" "src/test/java"]
:main ^:skip-aot floop.core
:profiles {:uberjar {:aot :all}
:dev {:plugins [[lein-pprint "1.1.2"]]
:dependencies [[junit/junit "4.11"]]}}
:plugins [[lein-junit "1.1.8"]]
;; Just run junit.
:junit ["src/test/java"]
:junit-formatter "xml"
:junit-results-dir "test-results"
:aliases {"test" "junit"}
:repositories [["snapshots"
{:url "https://artifactory.yb0t.cc/artifactory/yieldbot-maven-snapshots"
:username :env/LEIN_USER
:password :env
:sign-releases false}]
["releases"
{:url "https://artifactory.yb0t.cc/artifactory/yieldbot-maven-releases"
:creds :env
:sign-releases false}]
["yb" {:url "https://artifactory.yb0t.cc/artifactory/maven"
:username :env/LEIN_USER
:password :env}]])

0 comments on commit db0a4ff

Please sign in to comment.