diff --git a/.gitignore b/.gitignore index 7cd94ef..ee74e2a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ pom.xml.asc .hgignore .hg/ .cpcache/ +pom.xml +/bin/deploy diff --git a/README.org b/README.org index ac42178..52acd4d 100644 --- a/README.org +++ b/README.org @@ -10,6 +10,18 @@ postgres binary format. See the [[Input Type mapping][mapping]] section for more * Usage +** Leiningen/Boot + +#+BEGIN_EXAMPLE +[clj-pgcopy "0.1.0"] +#+END_EXAMPLE + +** Clojure CLI/deps.edn + +#+BEGIN_EXAMPLE +clj-pgcopy {:mvn/version "0.1.0"} +#+END_EXAMPLE + #+BEGIN_SRC clojure :exports none (require '[clojure.java.jdbc :as jdbc]) diff --git a/deps.edn b/deps.edn index 16415cd..6adce99 100644 --- a/deps.edn +++ b/deps.edn @@ -9,4 +9,5 @@ {:extra-paths ["dev" "test"] :extra-deps {org.clojure/tools.namespace {:mvn/version "0.3.0"} org.clojure/java.jdbc {:mvn/version "0.7.9"}} - :jvm-opts ["-XX:-OmitStackTraceInFastThrow"]}}} + :jvm-opts ["-XX:-OmitStackTraceInFastThrow"]} + :deploy {:extra-deps {deps-deploy {:mvn/version "RELEASE"}}}}}