Permalink
Browse files

add run aliasa

  • Loading branch information...
1 parent dc0350c commit 95607ce0610be668e34e61cc1f089afc76f92065 @sunng87 committed Aug 6, 2012
Showing with 6 additions and 4 deletions.
  1. +3 −3 README.md
  2. +3 −1 project.clj
View
@@ -19,14 +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 `lein2 run -m slacker.example.server` and
-`lein2 run -m slacker.example.client`.
+can run the examples by `lein2 run-example-server` and
+`lein2 run-example-client`.
## Usage
### Leiningen
- :dependencies [[slacker "0.8.3"]]
+ :dependencies [[slacker "0.8.4"]]
### Getting Started
View
@@ -15,6 +15,8 @@
:dependencies [[codox "0.6.1"]]}
:1.3 {:dependencies [org.clojure/clojure "1.3.0"]}}
:plugins [[lein-exec "0.2.0"]]
- :warn-on-reflection true)
+ :warn-on-reflection true
+ :aliases {"run-example-server" ["run" "-m" "slacker.example.server"]
+ "run-example-client" ["run" "-m" "slacker.example.client"]})

0 comments on commit 95607ce

Please sign in to comment.