Skip to content

Commit 95e12fc

Browse files
committed
update readme, mention to use an absolute project dir for build
1 parent f60f97e commit 95e12fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ You require metabase to be installed alongside of your project
6464

6565
## Build
6666
1. modify :paths in deps.edn, make them absolute
67-
2. `clojure -X:build`
67+
2. `clojure -X:build :project-dir "\"$(pwd)\""`
6868

6969
This will build a file called `target/teradata.metabase-driver.jar`; copy this to your Metabase `./plugins` directory.

deps.edn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
:paths [
3-
; before building, you need to turn those into absolute paths
3+
; in case you get the error `All dirs should be absolute`, you forgot to define an absolute project-dir like so:
4+
; clojure -X:build :project-dir "\"$(pwd)\""
45
"src"
56
"resources"
67
]
@@ -12,8 +13,7 @@
1213
metabase/build-drivers {:git/url "https://github.com/metabase/metabase.git" :git/tag "v0.43.0" :git/sha "ee686fcfe5" :deps/root "bin/build-drivers"}
1314
}
1415

15-
; build the driver with `clojure -X:build` assumes that:
16-
; 1. You have turned the relative :paths above into absolute paths
16+
; build the driver with `clojure -X:build :project-dir "\"$(pwd)\""`
1717
:aliases {
1818
:build {
1919
:exec-fn build-drivers.build-driver/build-driver!

0 commit comments

Comments
 (0)