Skip to content
Browse files

Refactored leiningen.ring.jar requires

  • Loading branch information...
1 parent 4829842 commit 322435f3ba2824ee535627afd9ef458d8b2cce30 @weavejester committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/leiningen/ring/jar.clj
View
8 src/leiningen/ring/jar.clj
@@ -1,8 +1,8 @@
(ns leiningen.ring.jar
- (:require [leiningen.jar :as jar]
- [clojure.string :as str])
(:use [leiningen.ring.util :only (compile-form ensure-handler-set!)]
- [leiningen.ring.server :only (add-server-dep)]))
+ [leiningen.ring.server :only (add-server-dep)])
+ (:require [clojure.string :as str]
+ leiningen.jar))
(defn default-main-namespace [project]
(let [handler-sym (get-in project [:ring :handler])]
@@ -34,4 +34,4 @@
(ensure-handler-set! project)
(let [project (-> project add-server-dep add-main-class)]
(compile-main project)
- (jar/jar project)))
+ (leiningen.jar/jar project)))

0 comments on commit 322435f

Please sign in to comment.
Something went wrong with that request. Please try again.