Fork me on GitHub
#cljsjs
<
2016-10-03
>
mikebelanger20:10:21

Hey guys, does anyone have experience using sift and its various flags?

flyboarder21:10:46

@mikebelanger what are you trying to do?

mikebelanger21:10:00

@flyboarder I have this resource file that I’ve packaged in a JAR, and everytime that project JAR is used, I’d like boot to copy a particular file in that JAR into the project’s designated resource directory. I’ve tried using the (sift :to-resource…) command in the build.boot to move that file over, but it claims it can’t find it in the fileset. Do I need to extract it from the JAR into the fileset first (ie using the (sift :add-jar… command first?

flyboarder22:10:09

but you can do it as one command I believe, i.e. use both settings (sift :add-jar #{#””} :to-reource #{#”"})

flyboarder22:10:52

@mikebelanger not sure if that is the exact signature but, you get the idea

mikebelanger23:10:55

@flyboarder ah cool, didn’t know you could chain them