v1.3.178
This commit is contained in:
parent
cd4987b005
commit
1de5c553ea
3 changed files with 33 additions and 24 deletions
|
|
@ -11,6 +11,10 @@ A preview of the next release can be installed from
|
||||||
Berlin. Save the date and/or submit your babashka/clojure-related 20 minute talk
|
Berlin. Save the date and/or submit your babashka/clojure-related 20 minute talk
|
||||||
in the CfP!
|
in the CfP!
|
||||||
|
|
||||||
|
## 1.3.178 (2023-04-18)
|
||||||
|
|
||||||
|
- Fix regression with [#1541](https://github.com/babashka/babashka/issues/1541)
|
||||||
|
|
||||||
## 1.3.177 (2023-04-18)
|
## 1.3.177 (2023-04-18)
|
||||||
|
|
||||||
- [#1541](https://github.com/babashka/babashka/issues/1541): respect `bb.edn`
|
- [#1541](https://github.com/babashka/babashka/issues/1541): respect `bb.edn`
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
1.3.178-SNAPSHOT
|
1.3.178
|
||||||
|
|
@ -1132,9 +1132,14 @@ Use bb run --help to show this help output.
|
||||||
config (when (fs/exists? config) (abs-path config))
|
config (when (fs/exists? config) (abs-path config))
|
||||||
jar (some-> [jar] cp/new-loader (cp/resource "META-INF/bb.edn") .toString)
|
jar (some-> [jar] cp/new-loader (cp/resource "META-INF/bb.edn") .toString)
|
||||||
:else (if (and file (fs/exists? file))
|
:else (if (and file (fs/exists? file))
|
||||||
|
;; file relative to bb.edn
|
||||||
(let [rel-bb-edn (fs/file (fs/parent file) "bb.edn")]
|
(let [rel-bb-edn (fs/file (fs/parent file) "bb.edn")]
|
||||||
(when (fs/exists? rel-bb-edn)
|
(if (fs/exists? rel-bb-edn)
|
||||||
(abs-path rel-bb-edn)))
|
(abs-path rel-bb-edn)
|
||||||
|
;; fall back to local bb.edn
|
||||||
|
(when (fs/exists? "bb.edn")
|
||||||
|
(abs-path "bb.edn"))))
|
||||||
|
;; default to local bb.edn
|
||||||
(when (fs/exists? "bb.edn")
|
(when (fs/exists? "bb.edn")
|
||||||
(abs-path "bb.edn"))))
|
(abs-path "bb.edn"))))
|
||||||
bb-edn (when (or bb-edn-file merge-deps)
|
bb-edn (when (or bb-edn-file merge-deps)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue