Permalink
Browse files

Use defconstrainedfn wrapper from leinjacker.

  • Loading branch information...
1 parent 97b54f9 commit 1779b2359b30222e6ba31ae347a67f22f7abd0ba @sattvik committed Jan 24, 2013
View
@@ -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)
@@ -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?
@@ -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."}
@@ -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."}
@@ -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."}
@@ -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`
@@ -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."}

0 comments on commit 1779b23

Please sign in to comment.