This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-29
Channels
- # announcements (2)
- # babashka (18)
- # beginners (42)
- # calva (56)
- # chlorine-clover (35)
- # clara (9)
- # clj-http (1)
- # clj-kondo (19)
- # cljs-dev (8)
- # clojure (14)
- # clojure-europe (23)
- # clojure-france (7)
- # clojure-norway (6)
- # clojure-uk (3)
- # clojurescript (37)
- # community-development (3)
- # cursive (29)
- # datomic (3)
- # emacs (10)
- # events (2)
- # fulcro (77)
- # hyperfiddle (2)
- # introduce-yourself (4)
- # joker (1)
- # lsp (40)
- # malli (52)
- # meander (7)
- # missionary (16)
- # off-topic (3)
- # pedestal (1)
- # re-frame (5)
- # reitit (38)
- # releases (1)
- # shadow-cljs (4)
- # tools-build (18)
- # tools-deps (1)
- # xtdb (8)
hi, when i run bb script i see this error
1: (ns import-data-2022
^--- Could not find namespace: import-data-2022.
why? šwhat I am doing wrong?
@U1V7K1YTZ This script works for me :)
(ns import-data-2022)
another question
the last form is -main
declaration
but when I run
bb /import_data_2022.bb dev ~/Downloads/20211227-data-2022
the output just
#'import-data-2022/-main
aaah, classpath..
you can also invoke the script directly, but then you just run the expressions directly, not in a -main function
you can use this to invoke the -main function when invoking the script: https://book.babashka.org/#main_file
thanks!
babashka 0.7.2! ā¢ AddĀ `spy`Ā macro fromĀ `taoensso.timbre`Ā https://github.com/babashka/babashka/issues/1087 ā¢ Better error for higher order fn arity mismatch ā¢ CheckĀ `shasum`Ā /Ā `sha256sum`Ā inĀ `PATH`Ā on install script (https://github.com/thiagokokada) ā¢ Build arm64 docker image in CIĀ https://github.com/babashka/babashka/issues/1099Ā (https://github.com/cap10morgan) ā¢ Upgrade toĀ `edamame`Ā v0.0.19 ā¢ Load tasks and deps from other bb.edn file usingĀ `--config`Ā andĀ `--deps-root`Ā optionsĀ https://github.com/babashka/babashka/issues/1110 ā¢ Uberscript improvementsĀ https://github.com/babashka/babashka/issues/584,Ā https://github.com/babashka/babashka/issues/1037 ā¢ Include native elements in printed stacktraceĀ https://github.com/babashka/babashka/issues/1105 ā¢ Missing error message when exception happens in REPL printĀ https://github.com/babashka/babashka/issues/1116 ā¢ UndeprecateĀ `$`Ā in babashka.process ā¢ Add lots of library tests to CI (https://github.com/cldwalker) ā¢ Release SNAPSHOT builds toĀ https://github.com/babashka/babashka-dev-builds/releasesĀ (use only for testing)
I just love Babashka! I can develop all scripting using JVM REPL and when I'm done I just run the clj file using Babashka to validate it runs the same way there.