Commit graph

131 commits

Author SHA1 Message Date
Nik
f06a749249
Add support for SQLite via a BABASHKA_FEATURE_SQLITE feature flag (#1079)
* implement native sqlite support as a feature flag following [1]

([1] is mentioned as a checklist of sorts as to how to add a new 
feature flag in [2])

[1] 13f65f05ae
[2] https://github.com/babashka/babashka/blob/master/doc/build.md

* bump to latest sqlite-jdbc, remove some no longer needed config+libs

based on feedback from borkdude here [1], bump xerial/sqlite-jdbc
3.36.0.3, which includes the graalvm classes and resource config
previously implemented via ericdallo/sqlite-jni-graal-fix and a `-H`
flag in `script/compile`

[1]: https://github.com/babashka/babashka/pull/1079#issuecomment-980533178
2021-11-28 09:34:54 +01:00
Michiel Borkent
7b403b8052 Bump SCI 2021-11-21 22:33:04 +01:00
Michiel Borkent
c86b28a210 edamame v0.0.14 2021-11-06 20:43:39 +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
bfd78e7c56 Bump rewrite-clj 2021-10-25 12:05:49 +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
500a4f9f60 v0.6.1 2021-09-12 14:22:45 +02:00
Michiel Borkent
13d38ba455
Clj easy graal build time (#1008) 2021-09-12 11:50:32 +02:00
Bob
242c3d442f
Logging feature flag and tools.logging.readable (#981) (#987)
* put tools.logging behind a feature flag

* add tools.logging.readable

- move logging namespace to feature folder
- add logging.readable namespace
- add tests for logging.readable

* cleanup logging changes

- add logging env var to compile script
- remove unconditional require of logging namespace

* move old-config capture to before alter

* remove feature check from logging tests
2021-08-29 23:43:53 +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
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
90ac55d588
Start porting Windows tests (#235) (#887) 2021-06-16 11:01:17 +02:00
Michiel Borkent
17f35b4d48 sci and tweak aot 2021-05-26 17:38:34 +02:00
Michiel Borkent
d4ed910c22 Update selmer 2021-05-08 16:37:33 +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
3cb85851ad sci v0.2.5 2021-04-27 12:31:23 +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
d71c3622ec
bb.edn: first iteration 2021-03-28 17:30:44 +02: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
77daea7362
[#712] Upgrade to GraalVM 21.0.0 (#725) 2021-02-07 12:23:20 +01:00
Michiel Borkent
549c2166b4 fs 2021-02-05 23:29:23 +01:00
Michiel Borkent
9220b983c5 Fix gaka tests 2021-02-03 23:06:18 +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
e309b49e1b Rename 2021-01-01 11:26:31 +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
9a80a47cfa
[#653] Upgrade to GraalVM 20.3.0 2020-12-05 20:56:12 +01:00
Michiel Borkent
6ed33d259e sci: symbol on var works, reader conditional with trailing uneval works 2020-11-25 21:10:43 +01:00
Jakub Holy
b73940861f
Add feature/oracledb (#638)
NOTE: Using the Oracle driver directly requires some GraalVM settings
while the helidon wrapper provides those and thus works out of the box.
2020-11-11 22:29:42 +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