From 6fd429c4c6fa69e87be479616498a0a59c714ad7 Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Mon, 12 Nov 2012 11:14:40 +0100 Subject: [PATCH] Fixed json parsin deps --- project.clj | 3 +-- src/leiningen/misaki.clj | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/project.clj b/project.clj index 98affb2..769f444 100644 --- a/project.clj +++ b/project.clj @@ -4,9 +4,8 @@ :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[misaki "0.2.3-beta"] - [gh-file-reader "0.0.2"] + [gh-file-reader "0.0.3"] [clj-text-decoration "0.0.1"] [compojure "1.1.3"] - [org.clojure/data.json "0.2.0"] [ring/ring-jetty-adapter "1.1.0"]] :eval-in-leiningen true) diff --git a/src/leiningen/misaki.clj b/src/leiningen/misaki.clj index ee299af..fbe2a79 100644 --- a/src/leiningen/misaki.clj +++ b/src/leiningen/misaki.clj @@ -24,13 +24,10 @@ project-name) (println (td/red (str "Template '" template-name "' is not found")))))) -(defn misaki-github-listener [destdir branch] - (github/listen destdir branch)) - (defn ^:no-project-needed misaki "Compiles your Misaki sources and starts a local server" [project & args] (case (first args) "new" (apply misaki-new (rest args)) - "listen" (apply misaki-github-listener (rest args)) + "listen" (apply github/listen (rest args)) (apply -main (get-current-directory) args)))