Skip to content

Commit

Permalink
fix: run from any dir (v0.1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarshantanu committed Jul 12, 2011
1 parent 672e663 commit 0685f67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -7,11 +7,11 @@ Leiningen plugin to work with local Maven repository.

Either install as a plugin:

$ lein plugin install lein-localrepo "0.1"
$ lein plugin install lein-localrepo "0.1.1"

Or, include as a dev-dependency:

:dev-dependencies [lein-localrepo "0.1"]
:dev-dependencies [lein-localrepo "0.1.1"]


### Guess Leiningen (Maven) coordinates of a file
Expand Down
2 changes: 1 addition & 1 deletion project.clj
@@ -1,3 +1,3 @@
(defproject lein-localrepo "0.1"
(defproject lein-localrepo "0.1.1"
:description "Leiningen local repository plugin"
:dev-dependencies [[org.clojure/clojure "1.2.1"]])
4 changes: 2 additions & 2 deletions src/leiningen/localrepo.clj
Expand Up @@ -141,9 +141,9 @@ help This help screen

(defn localrepo
"Work with local Maven repository"
([project]
([]
(c-help))
([project command & args]
([command & args]
(let [argc (count args)]
(case command
"coords" (apply-cmd #(= argc 1) command c-coords args)
Expand Down

0 comments on commit 0685f67

Please sign in to comment.