Skip to content

Commit

Permalink
Use defconstrainedfn wrapper from leinjacker.
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvik committed Jan 24, 2013
1 parent 97b54f9 commit 1779b23
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions project.clj
Expand Up @@ -3,7 +3,6 @@
:url "https://github.com/sattvik/lein-tarsier"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[trammel "0.7.0"]
[leinjacker "0.4.1"]]
:dependencies [[leinjacker "0.4.1"]]
:min-lein-version "2.0.0"
:eval-in-leiningen true)
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure.clj
Expand Up @@ -5,7 +5,7 @@
[leiningen.vimclojure.deps :as deps]
[leiningen.vimclojure.options.tarsier :as tarsier-opts]
[leiningen.vimclojure.repl :as repl])
(:use [trammel.core :only [defconstrainedfn]])
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]])
(:import java.net.InetAddress))

(defn- form?
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure/deps.clj
Expand Up @@ -2,7 +2,7 @@
"Handles adding dependencies to projects."
{:author "Daniel Solano Gómez"}
(:require [leinjacker.deps :as deps])
(:use [trammel.core :only [defconstrainedfn]]))
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]]))

(def ^{:internal true
:doc "The name of the VimClojure dependency."}
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure/options/tarsier.clj
Expand Up @@ -2,7 +2,7 @@
"Handles the :vimclojure-opts configuration."
{:author "Daniel Solano Gómez"}
(:import java.net.InetAddress)
(:use [trammel.core :only [defconstrainedfn]]))
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]]))

(def ^{:private true
:doc "Default values for the plug-in options."}
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure/repl.clj
Expand Up @@ -2,7 +2,7 @@
"Provides the interface to the REPL for lein-tarsier."
{:author "Daniel Solano Gómez"}
(:require [leinjacker.utils :as utils])
(:use [trammel.core :only [defconstrainedfn]]))
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]]))

(def ^{:private true
:doc "Map of Leiningen generation to REPL run functions."}
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure/repl/lein1.clj
Expand Up @@ -6,7 +6,7 @@
[deps :as deps]
[trampoline :as trampoline]
[repl :as repl]])
(:use [trammel.core :only [defconstrainedfn]]))
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]]))

(defconstrainedfn run
"Runs the REPL. This is derived from Leiningen 1.x’s `leiningen.repl/repl`
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/vimclojure/repl/lein2.clj
Expand Up @@ -13,7 +13,7 @@
[leinjacker.utils :as utils]
[reply.main :as reply]
reply.exit)
(:use [trammel.core :only [defconstrainedfn]]))
(:use [leinjacker.defconstrainedfn :only [defconstrainedfn]]))

(def ^{:private true
:doc "A profile that contains the VimClojure server dependency."}
Expand Down

0 comments on commit 1779b23

Please sign in to comment.