This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aws (1)
- # beginners (50)
- # boot (32)
- # chestnut (2)
- # cider (14)
- # clara (23)
- # cljs-dev (131)
- # cljsrn (44)
- # clojure (133)
- # clojure-belgium (3)
- # clojure-denmark (4)
- # clojure-dev (6)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-russia (95)
- # clojure-spec (59)
- # clojure-uk (14)
- # clojurescript (157)
- # cursive (26)
- # data-science (1)
- # datomic (160)
- # devops (5)
- # dirac (80)
- # emacs (2)
- # graphql (2)
- # jobs (2)
- # lein-figwheel (1)
- # lumo (9)
- # off-topic (151)
- # onyx (2)
- # parinfer (2)
- # pedestal (5)
- # perun (2)
- # re-frame (60)
- # reagent (3)
- # remote-jobs (1)
- # test-check (3)
- # uncomplicate (11)
- # yada (1)
@shdzzl you can use
I ended up using
re-find and extracting
:path manually, ha. I missed
by-re completely, thanks @richiardiandrea
Hiya. I’m thinking of writing a task which takes a CSV file, and then creates an HTML file based on each row, and also moves / generates some thumbnails from images based on each row. I’m thinking that it the metadata-generating should be one task, then the image moving, then the rendering (since the rendering will rely on the number of images, filenames of images..) Still new to boot, but should I create and commit! blank files during the csv-parse step, with some metadata attached, adjust that metadata for the images step, and then use the metadata in the rendering step?
@minikomi i might produce a manifest-type EDN file in the fileset, with a meaningful extension, instead of metadata
Interesting. Like a .csv.edn ? Which I can sift out easily but also filer and use as a basis for creating individual HTML pages or index pages
@mobileink You can try 0.4.0-SNAPSHOT: https://github.com/adzerk-oss/boot-cljs-repl#cljs-repl-options
juhoteperi: seems to work, thanks!
Soooo @juhoteperi I was discussing with Darwin for Dirac integration in boot. Are we doing something currently for syncing state between boot-cljs and the browser when somebody evaluates in boot-cljs-repl?
I could not find anything just wanted to double check
@richiardiandrea No state sync
hmm am I doing something dumb? I cannot get the
boot repl -c to use the clojure version specified in my boot.properties file
@lwhorton it should yes
Do you have something else in your dependencies?
i wonder … if i’m running two boot repls at the same time, how does the task know which one to connect to? depending on the dir in which i’m running the command, maybe?
They cannot have the same port locally ...otherwise you can pass host and port
(if I understand right)
i know there’s some .nrepl files dropped locally when you start up the task hosting the repl, and those both show different ports depending on the pwd
Yes there is
.nrepl-port used in lein, I am not 100% sure boot does the same
Can be actually
Assuming the repl runs in a pod, you would inherit the env of you build.boot
So if another Clojure version wins, then you might have that one
juhoteperi: seems to work, thanks!
hah; if you change the boot.properties after running the boot task which starts a repl, it (rightfully) doesn’t automagically change the clojure version when you then invoke
question about workflow: I often do
(clojure.core/load-file "./build.boot") in order to load code from the build.boot file in the repl.
(use 'boot.user :reload) does not work. Is calling
load-file the idiomatic way of doing this?
another idiom is, when your build.boot gets big, factor it into namespaces and deftasks in src/
that also puts code on the classpath so you can