Closed Frozenlock closed 9 years ago
It seems that the :prep-tasks "cljx once" in the project.clj is messing with with lein test command.
:prep-tasks "cljx once"
project.clj
lein test
This is the error I'm getting:
java.lang.ClassCastException: java.lang.Character cannot be cast to java.lang.String at clojure.core$symbol.invoke (core.clj:547) leiningen.core.utils$require_resolve.invoke (utils.clj:71) leiningen.core.main$lookup_task_var.invoke (main.clj:60) leiningen.core.main$resolve_task.invoke (main.clj:260) leiningen.core.main$resolve_task.invoke (main.clj:264) leiningen.core.main$apply_task.invoke (main.clj:294) lein_environ.plugin$write_env_to_file.invoke (plugin.clj:11) clojure.lang.Var.invoke (Var.java:394) clojure.lang.AFn.applyToHelper (AFn.java:165) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invoke (core.clj:626) robert.hooke$compose_hooks$fn__11692.doInvoke (hooke.clj:40) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invoke (core.clj:624) robert.hooke$run_hooks.invoke (hooke.clj:46)
If I remove the :prep-tasks, everything runs fine.
:prep-tasks
:prep-tasks should take a vector of task names, not a string.
ah right, fixed and pushed out a new template
Thanks!
It seems that the
:prep-tasks "cljx once"
in theproject.clj
is messing with withlein test
command.This is the error I'm getting:
If I remove the
:prep-tasks
, everything runs fine.