From 4bdcb041f8ae27ff4297d95796d9f1bdd1fa7d11 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 27 Feb 2016 18:33:48 -0500 Subject: [PATCH] add Schema to core module --- vwowrla.core/project.clj | 5 ++++- vwowrla.core/repl/user.clj | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 vwowrla.core/repl/user.clj diff --git a/vwowrla.core/project.clj b/vwowrla.core/project.clj index c1ad7e5..254220b 100644 --- a/vwowrla.core/project.clj +++ b/vwowrla.core/project.clj @@ -7,4 +7,7 @@ :dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/tools.logging "0.3.1"] [log4j "1.2.16"] - [cheshire "5.5.0"]]) + [prismatic/schema "1.0.5"] + [cheshire "5.5.0"]] + + :profiles {:repl {:source-paths ["repl"]}}) diff --git a/vwowrla.core/repl/user.clj b/vwowrla.core/repl/user.clj new file mode 100644 index 0000000..3df8000 --- /dev/null +++ b/vwowrla.core/repl/user.clj @@ -0,0 +1,5 @@ +(ns user + (:require + [schema.core :as s])) + +(s/set-fn-validation! true)