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.