Add ClojureScript build, move files to cljc.

ClojureScript build fails.
This commit is contained in:
Mike Blume 2015-06-13 11:30:21 -07:00 committed by Richard Newman
parent 791116702c
commit 5603e9df9f
7 changed files with 6 additions and 2 deletions

View file

@ -5,4 +5,8 @@
:url "https://github.com/jkk/honeysql" :url "https://github.com/jkk/honeysql"
:scm {:name "git" :scm {:name "git"
:url "https://github.com/jkk/honeysql"} :url "https://github.com/jkk/honeysql"}
:dependencies [[org.clojure/clojure "1.8.0"]]) :dependencies [[org.clojure/clojure "1.8.0"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.89"]]
:cljsbuild {:builds [{:source-paths ["src" "test"]}]}
:plugins [[lein-cljsbuild "1.0.6"]]}})

View file

@ -233,7 +233,7 @@
(defn delete-from (defn delete-from
([table] (delete-from nil table)) ([table] (delete-from nil table))
([m table] (build-clause :delete-from m table))) ([m table] (build-clause :delete-from m table)))
(defmethod build-clause :with [_ m ctes] (defmethod build-clause :with [_ m ctes]
(assoc m :with ctes)) (assoc m :with ctes))