Add ClojureScript build, move files to cljc.
ClojureScript build fails.
This commit is contained in:
parent
791116702c
commit
5603e9df9f
7 changed files with 6 additions and 2 deletions
|
|
@ -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"]]}})
|
||||||
|
|
|
||||||
|
|
@ -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))
|
||||||
|
|
||||||
Loading…
Reference in a new issue