Michiel Borkent
df477adbb0
Fix #1661 : follow symlink when reading adjacent bb.edn ( #1663 )
2024-01-30 11:56:22 +01:00
Michiel Borkent
6dc3110b3c
Fix #1658 : fix command-line args with overlapping bb options ( #1659 )
2024-01-12 20:29:40 +01:00
Michiel Borkent
d85c86af2c
Fix #1652 : allow bb.edn to be empty
2024-01-09 12:26:38 +01:00
Michiel Borkent
3ded3b9546
Fix #1568 : warn when task overrides built-in command ( #1612 )
2023-08-22 13:36:49 +02:00
Michiel Borkent
ea4ebab807
Fix #1599 : propagate run error ( #1601 )
2023-08-11 13:22:50 +02:00
Michiel Borkent
4dcc159ed7
Fix #1545 : Adjacent bb.edn not respected with explicit -f option ( #1547 )
2023-04-26 14:41:21 +02:00
Bob
39e4ea71e9
Fix #1189 : add test for error message for clojure {:dir "missing-directory"} ( #1543 )
...
* add test for error message from running clojure
task in non-existent dir
* make testing string more accurate
2023-04-22 23:37:17 +02:00
Michiel Borkent
26967df643
Fix #1541 : respect bb.edn adjacent to invoked file ( #1542 )
2023-04-21 13:50:53 +02:00
Michiel Borkent
6d1f295f47
Fix #1487 : babashka.tasks/clojure with 0 args ( #1488 )
2023-02-06 22:36:26 +01:00
Rahuλ Dé
32864476e5
Fix #1473 : make :local/root deps resolve paths relative to bb.edn
...
Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2023-01-28 14:27:54 +01:00
Michiel Borkent
4220902927
Try fixing test on Windows
2023-01-23 18:13:47 +01:00
Michiel Borkent
eca7847ed9
Fix #1467 : avoid printing results by default, unless --prn is enabled ( #1469 )
2023-01-21 15:38:50 +01:00
ikappaki
6e00354053
Fix 1430: empty tasks names display list ( #1431 )
...
Co-authored-by: ikappaki <ikappaki@users.noreply.github.com>
2022-11-28 10:51:39 +01:00
Michiel Borkent
020d42a94f
Fix #808 : -Sdeps
2022-09-24 13:25:06 +02:00
Michiel Borkent
2f146bd712
Fix #1364 : Be tolerant of unknown tags in bb.edn
2022-09-18 12:29:16 +02:00
Stel Abrego
d2278835f1
Fix #1041 : Improve error message when regex literal in EDN config ( #1230 )
...
* Improve error message when regex literal in EDN config (#1041 )
Regex literal syntax (example: #"^foo") is not allowed in EDN. With the
ability to write tasks in the config file, users may mistakenly try to
include regex literals. This patch improves the error message by
informing the user that literal regex syntax is not allowed and
recommends using re-pattern instead.
* Update changelog
* Fixup main.clj
* Fixup changelog
2022-04-05 11:03:39 +02:00
Wes Morgan
e602286799
feat #863 : Load pods from bb.edn ( #1205 )
...
Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-03-23 17:08:59 +01:00
Michiel Borkent
61e47555f9
feat #1187 : Add :result key to (current-task) map that can be used in :leave task hook
2022-02-27 12:10:33 +01:00
Michiel Borkent
141881376d
fix #1190 : task dependencies resolve as core.async channels ( #1191 )
2022-02-27 11:49:40 +01:00
Michiel Borkent
83c610ca0f
fix #1180 : limit bb tasks output to first line of docstring
2022-02-24 12:28:54 +01:00
Michiel Borkent
061bc528ae
this test wasn't supposed to be in master!
2022-01-05 20:21:19 +01:00
Michiel Borkent
d050e7d58d
deps.clj: update to clojure CLI 1.10.3.1058
2022-01-05 20:11:23 +01:00
Michiel Borkent
34f9997df4
[ #1123 , #1124 ] Do not require java for bb tasks without deps
2021-12-30 16:32:15 +01:00
Michiel Borkent
1912b921df
Fixes for issue reported by @thiagokokada
2021-12-27 21:31:13 +01:00
Michiel Borkent
fb7f984389
[ #1110 ] Load tasks and deps from other bb.edn file ( #1117 )
...
Co-authored-by: Bob <highpressurecarsalesman@gmail.com>
2021-12-26 17:26:35 +01:00
Bob
ffd66d514a
add META-INF resource to windows compilation (to mirror linux compilation) ( fixes #963 ) ( #964 )
2021-08-04 14:20:59 +02:00
Michiel Borkent
bda2017d0d
Skip print-deps-test on Windows for now
2021-08-03 10:36:56 +02:00
Michiel Borkent
be29d791a8
[ #733 ] print-deps tests
2021-08-02 23:34:38 +02:00
Michiel Borkent
8387109166
Fix flaky test on Windows
2021-07-23 11:51:39 +02:00
Michiel Borkent
294cfe403c
Fix flaky bb-edn test
2021-07-23 11:15:03 +02:00
Michiel Borkent
7b76eaf956
Disable task test for Windows
2021-07-15 13:16:38 +02:00
Bob
16911a54f0
add more windows testing ( #902 )
...
- add default test selector to skip "windows only" tests
- in cases where the differences between *nix shell and windows shell
make the test very messy, add a separate "windows only" test
- make more tests work on Windows
2021-06-24 22:34:57 +02:00
Bob
35e2cd9d05
make tests run on windows as the default ( #235 ) ( #898 )
...
* make tests run on windows as the default
- change from selecting tests to run to selecting tests to skip (remove all :windows tags, add
:skip-windows tag to tests that don't currently work on windows)
- handfuls of calls to `normalize` and `escape-file-paths` to handle platform differences
- split `task-test` to make most of the tests run on windows, and exclude just a couple of Unix-y tests
* make a binding name clearer
* skip nrepl-server-test on Windows
- test fails on CI, so disabling it for now
* unset bb environment vars after running tests
* unset bb environment var after running release-artifact
BABASHKA_EDN being set can interfere with some tests, so unset it before running the
native tests
* skip uberjar test on Windows
uberjar-test's 'throw on empty classpath' test failing on Windows native
(but passes on JVM) - skip it for now
2021-06-20 09:23:58 +02:00
Michiel Borkent
ac576bd6e7
[ #865 ] Stable namespace
2021-05-30 11:36:30 +02:00
Michiel Borkent
94fc8298e6
[ #865 ] Use print-meta when emitting tasks
2021-05-30 11:27:11 +02:00
Michiel Borkent
9f48048472
[ #847 ] Better error handling for parallel tasks (2)
2021-05-18 13:19:09 +02:00
Michiel Borkent
e18f4302a8
[ #847 ] Better error handling for parallel tasks
2021-05-18 12:39:21 +02:00
Michiel Borkent
6aca41a48a
[ #829 ] Allow thread-first in combination with shell
2021-05-13 13:10:56 +02:00
Michiel Borkent
7462d86afd
[ #837 ] Add babashka.task System property
2021-05-13 11:53:28 +02:00
Michiel Borkent
5014012bd6
[ #836 ] Add :error-fn option to shell
2021-05-13 11:45:27 +02:00
Michiel Borkent
e0e3aa422e
[ #770 ] Add test
2021-05-03 11:06:32 +02:00
Michiel Borkent
d0d18f9837
Tasks: integrate in doc subcommand
2021-05-02 20:48:40 +02:00
Michiel Borkent
12c29eb308
Tasks: detect cycles
2021-05-02 14:51:51 +02:00
Michiel Borkent
fb3d24b23c
Tasks: better error msg for unresolved task
2021-05-02 14:31:57 +02:00
Michiel Borkent
3bcc392760
Tasks: add explicit run function
2021-04-30 11:55:24 +02:00
Michiel Borkent
06be620d71
[ #805 ] Support :enter and :leave hooks + current-task fn ( #813 )
2021-04-30 11:11:12 +02:00
Michiel Borkent
66867e1ddb
[ #807 ] Ignore local and global deps.edn
2021-04-28 12:09:05 +02:00
Michiel Borkent
514fc84cde
[ #810 ] Support :extra-paths and :extra-deps in tasks
2021-04-27 23:32:37 +02:00
Michiel Borkent
d7075ffad0
Tasks: fix listing of tasks
2021-04-26 10:59:05 +02:00
Michiel Borkent
6a4dd5cd26
Fix test
2021-04-25 23:31:39 +02:00