Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

slacker now requires lein2 to build

  • Loading branch information...
commit f553c4477dd57e2dce1c8c1bd4b33b2f98a8abdf 1 parent 5526979
@sunng87 authored
Showing with 16 additions and 10 deletions.
  1. +1 −0  .gitignore
  2. +6 −4 README.md
  3. +9 −6 project.clj
View
1  .gitignore
@@ -4,3 +4,4 @@ pom.xml
/doc/
/classes/
.*
+target
View
10 README.md
@@ -19,13 +19,14 @@ slacker is a simple RPC framework designed for Clojure and created by Clojure.
## Examples
A pair of example server/client can be found under "examples", you
-can run the examples by `lein run :server` and `lein run :client` .
+can run the examples by `lein2 run -m slacker.example.server` and
+`lein2 run -m slacker.example.client`.
## Usage
### Leiningen
- :dependencies [[slacker "0.8.2"]]
+ :dependencies [[slacker "0.8.3-SNAPSHOT"]]
### Getting Started
@@ -225,10 +226,11 @@ page](https://github.com/sunng87/slacker/wiki/AccessControlList) for the ACL rul
## Performance
-To test performance, just start an example server with `lein run :server`.
+To test performance, just start an example server with `lein2 run -m
+slacker.example.server`.
Then run the performance test script:
-`lein exec scripts/performance-test.clj 200000 50`. This will run
+`lein2 exec -p scripts/performance-test.clj 200000 50`. This will run
200,000 calls with 50 threads.
Tested on my working desktop (DELL optiplex 760, Intel(R) Core(TM)2
View
15 project.clj
@@ -1,17 +1,20 @@
(defproject slacker "0.8.3-SNAPSHOT"
:description "Transparent, non-invasive RPC by clojure and for clojure"
- :dependencies [[org.clojure/clojure "1.3.0"]
+ :url "http://github.com/sunng87/slacker"
+ :license {:name "Eclipse Public License"
+ :url "http://www.eclipse.org/legal/epl-v10.html"}
+ :min-lein-version "2.0.0"
+ :dependencies [[org.clojure/clojure "1.4.0"]
[link "0.3.3"]
[info.sunng/carbonite "0.2.2"]
[cheshire "4.0.0"]
[slingshot "0.10.2"]
[org.clojure/java.jmx "0.1"]
[org.clojure/tools.logging "0.2.3"]]
- :dev-dependencies [[codox "0.6.1"]
- [lein-exec "0.1"]]
- :extra-classpath-dirs ["examples"]
- :run-aliases {:server "slacker.example.server"
- :client "slacker.example.client"}
+ :profiles {:dev {:resource-paths ["examples"]
+ :dependencies [[codox "0.6.1"]]}
+ :1.3 {:dependencies [org.clojure/clojure "1.3.0"]}}
+ :plugins [[lein-exec "0.2.0"]]
:warn-on-reflection false)
Please sign in to comment.
Something went wrong with that request. Please try again.