-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Example for building the driver with bash or similar | ||
|
||
DRIVER_PATH=`pwd` | ||
|
||
# switch to the local checkout of the Metabase repo | ||
cd ../metabase | ||
|
||
# get absolute path to the driver project directory | ||
|
||
clojure \ | ||
-Sdeps "{:aliases {:firebird {:extra-deps {evosec/firebird-driver {:local/root \"$DRIVER_PATH\"}}}}}" \ | ||
-X:build:firebird \ | ||
build-drivers.build-driver/build-driver! \ | ||
"{:driver :firebird, :project-dir \"$DRIVER_PATH\", :target-dir \"$DRIVER_PATH/target\"}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{:paths | ||
["src" "resources"] | ||
|
||
|
||
:deps | ||
{org.firebirdsql.jdbc/jaybird {:mvn/version "4.0.2.java8"}} | ||
|
||
;; build the driver with clojure -X:build | ||
:aliases | ||
{:build | ||
{:extra-deps {metabase/metabase-core {:local/root "../metabase"} | ||
metabase/build-drivers {:local/root "../metabase/bin/build-drivers"}} | ||
:exec-fn build-drivers.build-driver/build-driver! | ||
:exec-args {:driver :firebird | ||
:project-dir "." | ||
:target-dir "./target"}}}} |