From df09addaa48868e76796de793c056c6a8d1770fc Mon Sep 17 00:00:00 2001 From: Nicholas Kariniemi Date: Thu, 10 Dec 2015 23:35:15 +0200 Subject: [PATCH] Remove unused dependencies --- dev/user.clj | 28 ---------------------------- project.clj | 18 +++++------------- src/cljs/grub/view/app.cljs | 3 +-- 3 files changed, 6 insertions(+), 43 deletions(-) delete mode 100644 dev/user.clj diff --git a/dev/user.clj b/dev/user.clj deleted file mode 100644 index 65b800f..0000000 --- a/dev/user.clj +++ /dev/null @@ -1,28 +0,0 @@ -;(ns user -; (:require [grub.core :as system] -; [clojure.java.io :as io] -; [clojure.string :as str] -; [clojure.pprint :refer (pprint)] -; [clojure.repl :refer :all] -; [clojure.test :as test] -; [clojure.tools.namespace.repl :refer (refresh refresh-all)])) -; -;(clojure.tools.namespace.repl/set-refresh-dirs "src/clj" "target/classes") -; -;(def system nil) -; -;(defn start -; "Starts the current development system." -; [] -; (alter-var-root #'system (constantly system/dev-system)) -; (alter-var-root #'system system/start)) -; -;(defn stop -; "Shuts down and destroys the current development system." -; [] -; (alter-var-root #'system -; (fn [s] (when s (system/stop s))))) -; -;(defn reset [] -; (stop) -; (refresh :after 'user/start)) diff --git a/project.clj b/project.clj index b27f721..174532c 100644 --- a/project.clj +++ b/project.clj @@ -10,28 +10,20 @@ [http-kit "2.1.19"] [ring/ring-core "1.3.2" :exclusions [org.clojure/tools.reader]] [hiccup "1.0.5"] - [prismatic/dommy "1.1.0"] - [com.novemberain/monger "2.1.0"] [org.clojure/tools.cli "0.3.1"] [sablono "0.3.4"] [cljs-uuid "0.0.4"] [midje "1.8.2"] [com.cognitect/transit-clj "0.8.275"] [com.cognitect/transit-cljs "0.8.220"] - [com.datomic/datomic-pro "0.9.5344" - :exclusions [com.fasterxml.jackson.core/jackson-annotations - org.apache.httpcomponents/httpclient]] + [com.datomic/datomic-pro "0.9.5344" :exclusions [com.fasterxml.jackson.core/jackson-annotations + org.apache.httpcomponents/httpclient]] [clj-webdriver "0.7.2"] [org.seleniumhq.selenium/selenium-java "2.47.0"]] - :repositories {"my.datomic.com" {:url "https://my.datomic.com/repo" - :creds :gpg}} - :profiles {:uberjar {:aot :all} - :dev {:source-paths ["dev"] - :dependencies [[org.clojure/tools.namespace "0.2.10"] - [org.clojure/java.classpath "0.2.2"]]}} + :repositories {"my.datomic.com" {:url "https://my.datomic.com/repo" :creds :gpg}} + :profiles {:uberjar {:aot :all}} :min-lein-version "2.1.2" - :plugins [[lein-cljsbuild "1.1.1"] - [lein-ring "0.8.6"]] + :plugins [[lein-cljsbuild "1.1.1"]] :cljsbuild {:builds {:dev {:source-paths ["src/cljs" "src/cljc"] :compiler {:output-dir "resources/public/js/out" :output-to "resources/public/js/grub.js" diff --git a/src/cljs/grub/view/app.cljs b/src/cljs/grub/view/app.cljs index ac5e444..ea9aff2 100644 --- a/src/cljs/grub/view/app.cljs +++ b/src/cljs/grub/view/app.cljs @@ -5,8 +5,7 @@ [om.core :as om :include-macros true] [sablono.core :refer-macros [html]] [cljs.core.async :as a :refer [