Michiel Borkent
e143eb1cb1
[ #899 ] Fix JVM test
2021-06-20 14:26:40 +02:00
Michiel Borkent
af754d013f
[ #899 ] (read-line) is buggy in REPL
2021-06-20 13:32:33 +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
Bob
ce4702318a
add more windows testing ( #894 )
...
- just handling line endings and escaping backslashes in file paths
2021-06-18 23:51:46 +02:00
Bob
e056cb96aa
add more windows testing ( #891 )
...
- add `normalize` call to `bb-native` output
- add `escape-file-paths` function to double up backslashes for Windows paths
passed as strings
- add :windows selector to about 10 more tests, along with various small changes
for Windows testing
- update test.bat to more closely mirror the Linux/Mac test script
2021-06-17 19:43:43 +02:00
Bob
63619fd66b
add windows selector to a couple of tests ( #235 ) ( #888 )
2021-06-16 16:40:02 +02:00
Michiel Borkent
90ac55d588
Start porting Windows tests ( #235 ) ( #887 )
2021-06-16 11:01:17 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 ( #885 )
2021-06-13 21:53:07 +02:00
Michiel Borkent
3764b52f3a
Implement custom deref outside of sci
2021-06-03 00:25:57 +02:00
Michiel Borkent
42bf790068
[ #872 ] Add java.lang.ProcessHandle$Info ( #873 )
...
And java.util.Optional
2021-05-31 00:06:21 +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
rng-dynamics
512a6f2220
feat: print data of uncaught ExceptionInfo to output ( #854 )
...
* feat: print data of uncaught ExceptionInfo to output
* println -> prn, add tests
2021-05-20 22:49:58 +02:00
Michiel Borkent
a942befc65
Add more agent vars ( #857 )
2021-05-19 14:00:48 +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
9a8bf7d0c3
[ #825 ] Handle uneval-ed expressions in bb tasks
2021-05-08 11:02:05 +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
87b9d93911
[ #622 ] with-precision
2021-05-02 11:41:57 +02:00
Michiel Borkent
6d540e2f06
Rename --verbose to --debug
2021-05-02 11:16:00 +02:00
Michiel Borkent
d1bbf844de
Add --verbose to global opts
2021-05-02 11:00:44 +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
e26f26c1ba
[ #811 ] Fix --classpath when no additional args are passed
2021-04-28 20:14:39 +02:00
Michiel Borkent
66867e1ddb
[ #807 ] Ignore local and global deps.edn
2021-04-28 12:09:05 +02:00
Michiel Borkent
f2ec857c66
Add min-version tests
2021-04-28 11:26:49 +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
Michiel Borkent
c8c49f42fe
Fix tests
2021-04-25 23:28:53 +02:00
Michiel Borkent
6da8fc99b8
Tasks: sort by occurence
2021-04-25 23:10:48 +02:00
Michiel Borkent
c5d61996d4
Tasks: support :continue in shell fn
2021-04-25 13:34:26 +02:00
Michiel Borkent
21bb768e9f
Tasks: fix execution of fully qualified symbol
2021-04-25 11:42:11 +02:00
Michiel Borkent
647ef40250
Tasks: accept alias in fully qualified namespace
2021-04-25 11:27:34 +02:00
Michiel Borkent
f7e881479b
Tasks: support :continue in shell
2021-04-25 00:24:33 +02:00
Michiel Borkent
12cb5d637c
[ #802 ] Support resolving docstring from function
2021-04-24 23:19:37 +02:00
Michiel Borkent
5ff9d8328a
[ #796 ] Support map literal in task
2021-04-24 13:05:27 +02:00
Michiel Borkent
3e9ddc55bb
[ #663 ] :min-bb-version
2021-04-24 12:54:41 +02:00
Michiel Borkent
3c6cf3f37e
Fix test
2021-04-24 12:05:15 +02:00
Michiel Borkent
6806398722
[ #800 ] Fix task priority
2021-04-24 11:51:03 +02:00
Michiel Borkent
657a88c348
[ #780 ] Ignore empty classpath entries
2021-04-22 12:33:17 +02:00
Michiel Borkent
15e71b0807
[ #780 ] Fix uberjar CLI parsing and throw when no classpath is provided
2021-04-22 11:56:13 +02:00
Michiel Borkent
f3630d2fb3
[ #790 ] Add java.security.SecureRandom
2021-04-15 00:04:19 +02:00
Michiel Borkent
e0b1c1b01e
[ #784 ] Support binf.cljc library by adding ByteBuffer and Charset-related classes ( #789 )
2021-04-14 23:27:31 +02:00