Actually, I'd already fixed it...


On Fri, Oct 25, 2013 at 6:33 PM, Tim Ewald <tim.ewald@cognitect.com> wrote:

> Yeah, I realize that - my mistake, I was experimenting with an alternative
> approach, will fix shortly.
>
>
> On Fri, Oct 25, 2013 at 5:58 PM, Gabriel Horner <notifications@github.com>wrote:
>
>> In service-template/src/leiningen/new/pedestal_service/project.clj:
>>
>> > @@ -15,15 +14,8 @@
>> >    :min-lein-version "2.0.0"
>> >    :resource-paths ["config", "resources"]
>> >    :aliases {"run-dev" ["trampoline" "run" "-m" "{{namespace}}.server/run-dev"]}
>> > -  :repl-options  {:init-ns user
>> > -                  :init (try
>> > -                          (use 'io.pedestal.service-tools.dev)
>> > -                          (require '{{namespace}}.service)
>> > -                          ;; Nasty trick to get around being unable to reference non-clojure.core symbols in :init
>> > -                          (eval '(init {{namespace}}.service/service #'{{namespace}}.service/routes))
>> > -                          (catch Throwable t
>> > -                            (println "ERROR: There was a problem loading io.pedestal.service-tools.dev")
>> > -                            (clojure.stacktrace/print-stack-trace t)
>> > -                            (println)))
>> > -                  :welcome (println "Welcome to pedestal-service! Run (tools-help) to see a list of useful functions.")}
>> > +  :profiles {:dev {:resource-paths ["dev"]
>> > +                   :dependencies [[io.pedestal/pedestal.service-tools "0.2.2-SNAPSHOT"]]
>>
>> @timewald <https://github.com/timewald> Did you see this comment?
>> service-tools needs to be a production dependency since a service's
>> server.clj depends on it
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/pedestal/pedestal/pull/219/files#r7229679>
>> .
>>
>
>