babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
2020-11-11T04:34:13.265500Z

it would be nice to have auto toc - fwiw, i thought i heard that asciidoc has some kind of toc support

2020-11-11T10:41:31.267400Z

https://twitter.com/alekszelark/status/1326435405743468544

😁 1
🤘 2
borkdude 2020-11-11T10:50:32.268Z

Feel free to add this to the examples directory in the bb repo :)

2020-11-11T10:59:30.268200Z

I will do, thanks

borkdude 2020-11-11T12:48:22.268900Z

Format namespace requires in a git pre-commit hook using pod-babashka-parcera

Jakub Holý 2020-11-11T18:08:56.272400Z

Hi! I am working on https://github.com/holyjak/babashka/tree/feature/oracledb but running into two issues: 1. script/compile logs Warning: profile :feature/jdbc not found. Is it anything to worry about? 2. It fails with the following. Notice the weird, incorrect path Hom/bin;

Created /Users/holyjak/Projects/external/babashka/target/babashka-0.2.4-SNAPSHOT-standalone.jar
script/compile: line 22: /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Hom/bin/gu: No such file or directory

borkdude 2020-11-11T18:09:48.272800Z

@holyjak what is in your GRAALVM_HOME variable?

Jakub Holý 2020-11-11T18:10:06.273200Z

OMG, I was sure it was correct but it is not, I see it now.

Jakub Holý 2020-11-11T18:11:01.273800Z

I see, when I copied the env export command I failed to select the whole line 🤦

👍 1
Jakub Holý 2020-11-11T18:34:06.274300Z

Babashka compile does not use reflect-config.json ?

borkdude 2020-11-11T18:34:35.274600Z

@holyjak The reflection config is generated

borkdude 2020-11-11T18:35:01.274900Z

See impl/classes.clj and the compile script

borkdude 2020-11-11T18:35:33.275100Z

lein with-profiles +reflection,+native-image "do" run

Jakub Holý 2020-11-11T19:02:28.275900Z

OK, thanks. It turns out I don't need it when using the helidon driver. So it does compile now, will try tomorrow whether it works 🙂

🎉 1
Jakub Holý 2020-11-11T20:29:26.277100Z

Good news: It works, opening a PR. I love the Oracle jokers! From the startup log (bold mine): > Nov 11, 2020 9:27:28 PM oracle.jdbc.driver.OracleDriver registerMBeans > WARNING: Unable to find an MBeanServer so no MBears are registered. 😹 https://github.com/borkdude/babashka/pull/638 Let me know if I should add any tests, docs, or anything!

borkdude 2020-11-11T21:27:26.277600Z

@holyjak Looks good to me! Merged.

❤️ 1