This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-20
Channels
- # admin-announcements (2)
- # beginners (38)
- # boot (12)
- # business (2)
- # cbus (2)
- # cider (8)
- # cljs-dev (32)
- # clojure (154)
- # clojure-brasil (43)
- # clojure-czech (3)
- # clojure-dev (5)
- # clojure-germany (1)
- # clojure-japan (2)
- # clojure-nl (2)
- # clojure-poland (9)
- # clojure-russia (29)
- # clojure-sg (12)
- # clojurescript (147)
- # clojurex (22)
- # community-development (2)
- # cursive (8)
- # events (3)
- # ldnclj (30)
- # ldnproclodo (1)
- # leiningen (1)
- # luminus (34)
- # off-topic (6)
- # om (255)
- # re-frame (1)
- # reagent (22)
- # rum (2)
- # yada (1)
I just forked @dnolen's om-next-demo and created a boot script for it. It has server code auto-reload using @danielsz's System https://github.com/thos37/om-next-demo
Let’s say that I’m running a shell command (like node
) in a task, and this shell command expects a certain file structure.
However, Boot only passes virtual filesets to Boot tasks, which the shell command would not understand.
Is there a way to create something like a temporary directory that has actual copies of all the files in a certain part of the virtual fileset, just for this shell command to read?
I suppose I could make a tmp-dir
, filter the input fileset for the files that I need, and then copy each of them into the tmp-dir
…
that's how i would do it
This might be a useful core API function in general, but it shouldn’t be too hard to do manually too.
i use this often, https://github.com/alandipert/boot-trinkets/blob/master/src/alandipert/boot_trinkets.clj#L8-L10
it copies something from the fileset into a directory, preserving the dir hierarchy
no prob