Skip to content

Commit

Permalink
v0.46.0 for honeysql1
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmpp committed May 5, 2023
1 parent d992855 commit 9ad0843
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 32 deletions.
47 changes: 16 additions & 31 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,42 +1,27 @@
{
:paths [
; in case you get the error `All dirs should be absolute`, you forgot to define an absolute project-dir like so:
; clojure -X:build :project-dir "\"$(pwd)\""
"src"
"resources"
]
:paths [
; in case you get the error `All dirs should be absolute`, you forgot to define an absolute project-dir like so:
; clojure -X:build :project-dir "\"$(pwd)\""
"/home/mikel/Documents/metabase-teradata-driver2/metabase-teradata-driver/src"
"/home/mikel/Documents/metabase-teradata-driver2/metabase-teradata-driver/resources"
]

:deps {
org.clojure/clojure {:mvn/version "1.11.1"}
expectations/clojure-test {:mvn/version "1.2.1"}
; replace also the version in metabase-plugin.yaml
metabase/metabase-core {:git/url "https://github.com/metabase/metabase.git" :git/tag "v0.45.3" :git/sha "070f57b"}
metabase/build-drivers {:git/url "https://github.com/metabase/metabase.git" :git/tag "v0.45.3" :git/sha "070f57b" :deps/root "bin/build-drivers"}
}
:deps { org.clojure/core.logic {:mvn/version "1.0.0"}
com.github.seancorfield/honeysql {:mvn/version "2.4.1011"}
}

;; These are needed for the Athena and Redshift drivers in order to build them. Maven repos from subprojects do not
;; These are needed for the Athena and Redshift drivers in order to build them. Maven repos from subprojects do not
;; get copied over -- see
;; https://ask.clojure.org/index.php/10726/deps-manifest-dependencies-respect-repos-dependent-project
:mvn/repos
{"athena" {:url "https://s3.amazonaws.com/maven-athena"}
"redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository/release"}}

; build the driver with `clojure -X:build :project-dir "\"$(pwd)\""`
:aliases {
:build {
:exec-fn build-drivers.build-driver/build-driver!
:exec-args {:driver :teradata
:project-dir "."
:target-dir "./target"}

; build the driver with `clojure -X:build :project-dir "\"$(pwd)\""`
:aliases
{:dev
{:extra-deps
{ io.github.metabase/metabase { :git/tag "v0.46.0", :git/sha "0ca7df3" } }
}
}
; We don't want to include metabase nor clojure in the uber jar
:oss {:replace-deps {} }

:test {:extra-paths ["test"]
:extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:main-opts ["-m" "cognitect.test-runner"]
:exec-fn cognitect.test-runner.api/test}
}
}
2 changes: 1 addition & 1 deletion resources/metabase-plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
info:
name: Metabase Teradata Driver
# also replace the version in deps.edn if you change the metabase version here
version: 1.1.0-metabase-v0.45.3-teradata-jdbc-17.10
version: 1.1.4-metabase-v0.46.0-teradata-jdbc-17.10
description: Allows Metabase to connect to Teradata databases. Community Supported driver.
dependencies:
- class: com.teradata.jdbc.TeraDriver
Expand Down

0 comments on commit 9ad0843

Please sign in to comment.