Gabriel Horner
665ae4dd97
Finish up library tests ( #1120 )
...
* Add tests for markdown-clj and tools.namespace
See comment for why only one markdown test could be run.
Closes #1069 and #1064
* Convert 10 test libs using add-libtest
Also improved add-libtest to only require maven artifact
and rely on clojars for getting git-url most of the time
* Convert 8 more test libs using add-libtest
Also updated table and added comment for newline test
* Fix doric test
* Disable tools.namespace test that fails on windows
* Added dozen manual test libs and converted 2 test libs
add-libtest.clj supports manually-added and test-directories options
* Converts last tests to test namespaces and write libraries.csv
* Add a number of library tests from projects.md
Also add more docs around adding test libs and tweak add script
* Use :sha for gitlib and older clojure cli
* Revert "Use :sha for gitlib and older clojure cli"
This reverts commit c663ab8368 .
* Fix and disable failing tests
Disabled tests that fail consistently and fixed windows one
2021-12-29 16:35:14 +01:00
Gabriel Horner
3a30a11c1f
Add more library tests ( #1114 )
...
* Add environ and table tests
Also allow for directory option and fix nasty nil test-dir bug
* Add 7 libraries via add-libtest.clj
Added :branch option and saved additional info to bb-tested-libs.edn to
reproduce test fetching later
* Disable intermittent failing test
2021-12-22 21:27:29 +01:00
Gabriel Horner
4e7d04f672
Add libtest ( #1112 )
...
* Add add-libtest script and add 2 libraries with it
* Add tests for 3 existing libraries
2021-12-21 19:25:10 +01:00
Gabriel Horner
4f8eb37704
Added specmonstah and dependency to tested libraries ( #1109 )
...
* Enable specmonstah tests now that it's merged
* Add dependency to tests and doc added libs
* Use the older :sha for compat with older clojure cli
2021-12-16 15:46:50 +01:00
Michiel Borkent
73d466e7d6
Fix SCI#649 aget reflection ( #1100 )
...
Fix issue with aget reported in babashka/sci#649 by @MrEbbinghaus
2021-12-09 22:38:38 +01:00
Michiel Borkent
48cf9671e1
Updated bb spec
2021-12-09 18:36:05 +01:00
Michiel Borkent
068cb6a97d
update babashka spec dep
2021-12-09 18:32:04 +01:00
Michiel Borkent
b7ede11154
Bump spec for tests
2021-12-09 18:02:50 +01:00
Michiel Borkent
5d324dd201
Added integrant tests
2021-12-08 23:11:32 +01:00
Michiel Borkent
4f21669f6b
Add orchestra tests
2021-12-08 22:57:16 +01:00
Michiel Borkent
f754578075
Add coax tests
2021-12-08 21:31:58 +01:00
Michiel Borkent
6d14ed61f1
Add better-cond to CI tests
2021-12-08 18:46:53 +01:00
Michiel Borkent
9dd4941230
Add spec tests to CI
2021-12-08 18:26:17 +01:00
Michiel Borkent
12dbbbb43f
edamame v0.0.17
2021-12-05 00:00:30 +01:00
Michiel Borkent
f761d84312
Add new functions from clojure 1.11 except clojure.java.math
2021-12-02 20:47:09 +01:00
Michiel Borkent
2a2d4befe5
Add babashka.core
2021-11-28 15:56:17 +01:00
Michiel Borkent
4566905a5c
Add compatibility with hato and clj-http-lite insecure feature ( #1080 )
...
Added classes:
- java.net.CookiePolicy
- java.net.http.HttpTimeoutException
- javax.net.ssl.HostnameVerifier
- javax.net.ssl.HttpsURLConnection
- javax.net.ssl.KeyManagerFactory
- javax.net.ssl.SSLSession
- javax.net.ssl.TrustManagerFactory
- java.security.KeyStore
- java.util.zip.Inflater
- java.util.zip.ZipException
2021-11-27 15:58:24 +01:00
Michiel Borkent
1e5ab961c2
edamame 0.0.13
2021-11-06 20:01:44 +01:00
Michiel Borkent
8ebb890b26
Bump core.async to 1.4.627
2021-11-05 20:22:18 +01:00
Michiel Borkent
c48ae27da3
Disable some service loader features for smaller image size ( #1054 )
...
This also excludes `java.awt.Toolkit`.
```
-H:ServiceLoaderFeatureExcludeServices=java.net.ContentHandlerFactory \
-H:ServiceLoaderFeatureExcludeServices=java.nio.charset.spi.CharsetProvider
```
2021-11-05 10:39:48 +01:00
Yann Vanhalewyn
37ec9f4638
Bump rewrite-clj to v1.0.699-alpha ( #1042 )
...
There is a bug in rewrite-clj v644 causing users to be unable to use
`:track-position` and `:auto-resolve` options at the same time in
rewrite zippers. See:
https://github.com/clj-commons/rewrite-clj/issues/159
This makes, for example, building static code analysis tools with
babashka much harder. In fact when analysing code, the position is
relevant for the script output and resolving keywords and symbols might
be required for the analysis.
2021-10-25 11:33:21 +02:00
Bob
8dad1fa473
ruuter and clj-digest tests ( #1034 )
...
* add lib tests for using ruuter with built-in httpkit server
* just to be safe, add a timeout to ruuter's HTTP requests
* add tests for clj-commons.digest
* add newly-tested libraries to the library list
* undo paren moves I missed that were done by parinfer
* typo
2021-10-17 23:12:28 +02:00
Bob
a39cdc7e8c
Component lib test ( #1016 )
...
* add lib test for component
* add example of using GZip
2021-09-26 23:47:39 +02:00
Bob
7df81f1273
make core.async and rewrite-clj integral ( #1014 )
...
* make core.async integral (not a feature)
tasks (in particular, parallel tasks) require core.async
* make rewrite_clj integral (not a feature)
* cleanup mistakes
2021-09-23 18:15:01 +02:00
Michiel Borkent
23ba52a813
[ #979 ] More java net http tests and tweaks ( #996 )
2021-09-01 11:36:24 +02:00
Bob
83b6d1e662
add lib test and an example for multigrep ( #461 ) ( #968 )
...
* fix lanterna constants ns name
* add multigrep lib test and example
2021-08-11 10:52:00 +02:00
Bob
a9e445e5a1
fix windows lib tests ( #956 )
...
- add lib-tests path to deps.edn and remove it from shell scripts
- change windows lib test batch script to write a bb.edn file
- re-enable native lib tests on windows
2021-07-25 23:49:01 +02:00
Michiel Borkent
7fac0f1eb9
[ #947 ] Vault tests, part 1 ( #949 )
2021-07-21 12:35:38 +02:00
Michiel Borkent
fabc0c6ccd
Upgrade clj-yaml
2021-07-15 11:18:37 +02:00
Michiel Borkent
d525428f15
Bump deps
2021-07-15 10:52:29 +02:00
Michiel Borkent
a888a340ae
Update Slmer: include << macro
2021-07-14 16:30:27 +02:00
Michiel Borkent
e996351dc9
Add clojure.tools.logging + timbre
2021-07-12 22:59:07 +02:00
Michiel Borkent
a359bd1746
Use data.json 2.4.0
2021-07-12 22:50:22 +02:00
Michiel Borkent
6a76a73e18
Use direct linking in profiler [skip ci]
2021-07-10 20:34:38 +02:00
Michiel Borkent
8c37594006
Add clojure.data.json tests
2021-07-10 17:16:14 +02:00
Bob
b53be25b94
[ #817 ] add crispin to lib tests and projects.md ( #918 )
...
* add crispin to lib tests and projects.md
* add a missing line in crispin example
2021-07-07 10:01:36 +02:00
Bob
097e45d180
[ #877 ] add omniconf lib tests
2021-07-05 21:12:11 +02:00
Michiel Borkent
ef64e93238
replikativ/hasch tests in CI
2021-06-21 21:58:41 +02:00
Michiel Borkent
15e54ef0a1
Add support for slingshot #675 ( #881 )
...
* Add java.util.Arrays/copyOfRange for slingshot
* add exception for tests
* Add slingshot tests
2021-06-09 10:39:43 +02:00
Michiel Borkent
454ed43ae4
Fix deps.edn
2021-05-16 23:13:10 +02:00
Michiel Borkent
42104a617d
deps.edn [skip ci]
2021-05-16 23:00:16 +02:00
Michiel Borkent
e6a2fdbb45
Add HoneySql v2 tests ( #841 )
2021-05-14 12:04:56 +02:00
Michiel Borkent
d4ed910c22
Update selmer
2021-05-08 16:37:33 +02:00
Michiel Borkent
cab3307a07
[ #823 ] Add tests for jasentaa
2021-05-07 11:58:18 +02:00
Michiel Borkent
b488c65d31
Bump Selmer to 1.12.39
2021-05-07 10:02:59 +02:00
Michiel Borkent
add7e7d216
Fix Selmer
2021-05-06 22:02:06 +02:00
Michiel Borkent
0a877f2976
Bump Selmer
2021-05-06 21:24:56 +02:00
Michiel Borkent
31f7732d4f
Depend on selmer upstream
2021-05-06 18:09:36 +02:00
Michiel Borkent
cbd8a2d07d
[ #821 ] Include Selmer
2021-05-06 12:53:59 +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
Michiel Borkent
5d84d75f80
Upgrade to Clojure 1.11.0-alpha1
2021-04-10 11:12:36 +02:00
Michiel Borkent
1870e2729e
[ #769 ] rewrite-clj support
2021-04-04 16:22:45 +02:00
Michiel Borkent
a8883bd5f2
clojure [skip ci]
2021-03-18 21:28:17 +01:00
Michiel Borkent
ac2bc23365
Fix tests
2021-03-15 22:44:16 +01:00
Michiel Borkent
4229cab9b4
Update version-clj tests
2021-03-14 21:04:55 +01:00
Michiel Borkent
0d59c0f43b
Reify improvements
2021-03-07 13:56:12 +01:00
Michiel Borkent
8819e1dc46
tools.cli update to 1.0.206
2021-02-28 10:49:07 +01:00
Michiel Borkent
00e65f0416
[ #738 ] upgrade to httpkit 2.5.3
2021-02-26 22:17:24 +01:00
Michiel Borkent
1dd20b0a0c
Add failjure to libtests
2021-02-13 10:48:59 +01:00
Michiel Borkent
549c2166b4
fs
2021-02-05 23:29:23 +01:00
Michiel Borkent
2136c0a19b
Add gaka lib tests
2021-02-03 14:50:58 +01:00
Michiel Borkent
79f8f92ef4
Move curl to normal deps [skip ci]
2021-02-02 23:10:05 +01:00
Michiel Borkent
23e12a11ee
sci as local/root
2021-01-29 23:18:15 +01:00
Michiel Borkent
b5c1b31cfc
Bump yaml and httpkit deps
2021-01-28 19:53:34 +01:00
Michiel Borkent
931fadabb2
[ #487 ] Include clojure.test.check as preparation for clojure.spec
2021-01-24 21:07:07 +01:00
Michiel Borkent
c4bb42df3e
[ #646 ] Add hiccup.core and hiccup2.core
2021-01-23 22:47:35 +01:00
Michiel Borkent
497bfb01da
[ #594 ] Include clojure.core.match
2021-01-23 14:02:00 +01:00
Michiel Borkent
ad100cb4d4
sci
2020-12-24 21:48:26 +01:00
Michiel Borkent
21e3e283c1
[ #684 ] Auto-resolved map fix
2020-12-23 17:21:29 +01:00
Michiel Borkent
d55e972999
Sci: less meta ( #686 )
2020-12-23 16:07:58 +01:00
Michiel Borkent
29fa0dd1df
Edamame: handle whitespace after read-cond splice
2020-12-21 23:50:20 +01:00
Michiel Borkent
7b8745806f
[ #677 , #678 ] babashka.deps add-deps + clojure + clojure subcommand
2020-12-13 11:41:20 +01:00
Michiel Borkent
c725c3be0b
[ babashka/process#31 ] Add tests to bb CI
2020-11-26 23:40:48 +01:00
Michiel Borkent
6ed33d259e
sci: symbol on var works, reader conditional with trailing uneval works
2020-11-25 21:10:43 +01:00
Michiel Borkent
7ef81a4708
Upgrade deps
2020-10-21 14:31:59 +02:00
Michiel Borkent
9a251998a9
Babashka pods
2020-10-21 14:25:54 +02:00
Michiel Borkent
9027055cc7
[ #521 ] babashka.process
2020-10-19 16:15:54 +02:00
Michiel Borkent
200d444745
[ #603 ] Partial support for multiple classes in reify
2020-10-18 17:15:16 +02:00
Michiel Borkent
e20f5f2069
Update lanterna example
2020-10-14 13:51:23 +02:00
Michiel Borkent
706dbf6a97
[ #571 ] Use real clojure.pprint, not fipp
2020-09-25 12:04:31 +02:00
Michiel Borkent
1efd3e6d3d
[ #587 ] Avoid NPE in error handling
2020-09-22 15:10:39 +02:00
Michiel Borkent
d8e14c278d
Libtest improvements
2020-09-21 10:56:33 +02:00
Michiel Borkent
f89da080c3
[ #561 ] Add org.httpkit.client namespace
...
This also bumps GraalVM to 20.2.0 and XCode to version 12
2020-09-18 21:32:08 +02:00
Michiel Borkent
55c2fcfb75
Update edamame
2020-09-15 17:44:51 +02:00
Lee Read
5d9027fe0a
Added lib tests for version-clj ( #569 )
...
The version-clj project uses `.cljx` so I hand-transcribed them to `.cljc`.
Tests are from from version-clj v1.0.2:
https://github.com/xsc/version-clj/tree/clojars-0.1.2
Added `version-clj.via-use-test` to verify loading version-clj via `use`.
Verification via: `./script/run_lib_tests`, I observed version-clj tests:
1. failing for `bb` native v0.2.0
2. passing for `./bb` native built from master
3. passing for `lein bb` from master
This should be the final change that closes #565 .
2020-09-09 23:03:15 +02:00
Michiel Borkent
3f8a1bc1c8
Bump clj-yaml library to 0.7.2 ( #562 )
2020-09-01 13:14:04 +02:00
Michiel Borkent
5b0f54e576
[ #508 , #543 ] Improve error reporting with stack trace
2020-08-24 23:45:41 +02:00
Michiel Borkent
ab0af85884
[ #536 ] Support uberjars
2020-08-19 16:39:42 +02:00
Gabriel Horner
901ea41f20
Add lib tests for bond ( #524 )
...
* Add lib-tests for bond
* Mention bond and add instructions for adding libtests
* Tweak lib test to detect exception that bb throws
2020-08-11 18:07:29 +02:00
Michiel Borkent
efc2946b81
Update minimallist dep + tests
2020-08-09 22:13:14 +02:00
Michiel Borkent
7b4fdbb622
sci: allow parsing of Clojure code in data literals
2020-06-20 23:24:21 +02:00
Michiel Borkent
ee8508d320
Merge testing of libs into one babashka process ( #485 )
2020-06-17 13:30:22 +02:00
Michiel Borkent
af760c8263
Test minimallist ( #484 )
2020-06-17 11:45:16 +02:00
Michiel Borkent
5f384d8540
Bump edamame: fix for line numbers when using shebang
2020-05-17 12:05:12 +02:00
Michiel Borkent
73a01f89b5
[ #432 ] use babashka.nrepl library
2020-05-13 14:13:57 +02:00
Michiel Borkent
2c8b575df9
Bump edamame
2020-05-12 18:21:10 +02:00
Michiel Borkent
a5d9b78af1
use babashka/babashka.pods library
2020-05-09 14:11:20 +02:00
Michiel Borkent
38a4862d54
sci: fix for / add java.lang.Character
2020-05-02 18:31:36 +02:00
Michiel Borkent
0805efd27b
[ #407 ] datascript feature
2020-05-01 20:37:31 +02:00
Michiel Borkent
0d1cabd4dc
[ #389 ] SQL feature flags
2020-04-29 14:50:25 +02:00
Michiel Borkent
ab008870b8
[ #389 ] XML feature flag ( #390 )
2020-04-28 12:03:01 +02:00
Michiel Borkent
ac24abbbfb
[ #382 ] add optional support for hsqldb
2020-04-26 13:11:38 +02:00
Michiel Borkent
d57d20e297
Upgrade deps
2020-04-24 15:12:34 +02:00
Michiel Borkent
6cd384c215
[ #372 ] add support for jdbc + postgres
2020-04-24 15:08:26 +02:00
Michiel Borkent
32dc498261
Merge branch 'master' into clojure.data.xml
2020-04-18 20:54:05 +02:00
Michiel Borkent
255c400e0a
[ #362 ] bump edamame: preserve location metadata in fn literal
2020-04-18 00:09:22 +02:00
Michiel Borkent
5f914cedd1
[ #263 ] add yaml library
2020-04-15 12:24:00 +02:00
Michiel Borkent
ffcbfa02b8
[ #351 ] exit REPL on ctrl-D
2020-04-14 13:12:33 +02:00
Michiel Borkent
4109aa5264
Bump edamame, fixes #347
2020-04-11 20:47:24 +02:00
Michiel Borkent
8b90e40de4
[ #301 ] Add nREPL server ( #326 )
2020-04-03 23:51:54 +02:00
Michiel Borkent
5f0c0ebd7f
Bring deps.edn up to date
2020-03-20 23:51:16 +01:00
Michiel Borkent
ce9fbcde50
Upgrade to clojure 1.10.2-alpha1
2020-03-05 20:19:02 +01:00
Michiel Borkent
90d16fbb74
Merge branch 'master' into clojure.data.xml
2020-02-21 20:08:00 +01:00
Michiel Borkent
e43727955a
[ #133 ] add clojure.pprint/pprint backed by fipp
2020-02-19 23:22:49 +01:00
Michiel Borkent
643b3a00da
Bump deps
2020-02-19 22:47:36 +01:00
Michiel Borkent
485fef7df5
Bump edamame and sci
2020-01-23 20:36:18 +01:00
Michiel Borkent
bc62576152
Bump edamame and sci
2020-01-22 21:51:23 +01:00
Michiel Borkent
37913fd012
sci bump
2020-01-19 14:04:56 +01:00
Michiel Borkent
e515018451
sci: rename :row and :col to :line and :column
2020-01-19 13:01:43 +01:00
Michiel Borkent
bfa8b45e34
sci: performance improvement
2020-01-14 17:12:57 +01:00
Michiel Borkent
b130d28c5a
Upgrade edamame
2020-01-11 11:45:27 +01:00
Michiel Borkent
6952ab16a3
wip
2020-01-08 22:38:03 +01:00
Michiel Borkent
aaf78a093d
Bump edamame once more
2020-01-06 23:50:46 +01:00
Michiel Borkent
42e84d9dac
Bump edamame
2020-01-06 22:58:25 +01:00
Michiel Borkent
15db79ac80
Sci: remove eval mark after evaluation
2020-01-06 20:40:02 +01:00