From 80ddf5c72c259718255bbdd346839b2adfe01ee1 Mon Sep 17 00:00:00 2001 From: James Reeves Date: Mon, 19 Mar 2012 19:42:34 +0000 Subject: [PATCH] Updated project.clj files to Leiningen 2 --- project.clj | 4 ++-- ring-core/project.clj | 3 ++- ring-jetty-adapter/project.clj | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/project.clj b/project.clj index 5b771cb..00ec6e4 100644 --- a/project.clj +++ b/project.clj @@ -6,8 +6,8 @@ [ring/ring-devel "1.1.0-SNAPSHOT"] [ring/ring-jetty-adapter "1.1.0-SNAPSHOT"] [ring/ring-servlet "1.1.0-SNAPSHOT"]] - :dev-dependencies - [[lein-sub "0.1.1"] + :plugins + [[lein-sub "0.2.0"] [codox "0.5.0"]] :sub ["ring-core" diff --git a/ring-core/project.clj b/ring-core/project.clj index f947985..c73c5f7 100644 --- a/ring-core/project.clj +++ b/ring-core/project.clj @@ -6,4 +6,5 @@ [commons-io "2.1"] [commons-fileupload "1.2.1"] [javax.servlet/servlet-api "2.5"]] - :dev-dependencies [[org.clojure/clojure-contrib "1.2.0"]]) + :profiles + {:dev {:dependencies [[org.clojure/clojure-contrib "1.2.0"]]}}) diff --git a/ring-jetty-adapter/project.clj b/ring-jetty-adapter/project.clj index 84fc490..e78d821 100644 --- a/ring-jetty-adapter/project.clj +++ b/ring-jetty-adapter/project.clj @@ -4,4 +4,5 @@ :dependencies [[ring/ring-core "1.1.0-SNAPSHOT"] [ring/ring-servlet "1.1.0-SNAPSHOT"] [org.eclipse.jetty/jetty-server "7.6.1.v20120215"]] - :dev-dependencies [[clj-http "0.3.2"]]) + :profiles + {:dev {:dependencies [[clj-http "0.3.2"]]}})