Permalink
Browse files

Fix a bug on Windows with resolving Clojure jar

  • Loading branch information...
1 parent db88288 commit 79f0d762bb351c4385ab1dcdb04c87bfba640cad @alexander-yakushev alexander-yakushev committed Feb 3, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 project.clj
  2. +1 −1 src/leiningen/droid/build.clj
View
2 project.clj
@@ -1,4 +1,4 @@
-(defproject lein-droid/lein-droid "0.1.0-beta5"
+(defproject lein-droid/lein-droid "0.1.0-beta6"
:description "Plugin for easy Clojure/Android development and deployment"
:url "https://github.com/alexander-yakushev/lein-droid"
:license {:name "Eclipse Public License"
View
2 src/leiningen/droid/build.clj
@@ -137,7 +137,7 @@
(let [apkbuilder-bin (str sdk-path "/tools/apkbuilder")
suffix (if (dev-build? project) "debug-unaligned" "unaligned")
unaligned-path (append-suffix out-apk-path suffix)
- clojure-jar (first-matched #(re-find #"android/clojure" (str %))
+ clojure-jar (first-matched #(re-find #"android[/\\]clojure" (str %))
(resolve-dependencies :dependencies project))
rj-line (if java-only [] ["-rj" (str clojure-jar)])]
(sh apkbuilder-bin unaligned-path "-u"

0 comments on commit 79f0d76

Please sign in to comment.