cljsjs

mikebelanger 2016-10-03T20:49:21.000776Z

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

flyboarder 2016-10-03T21:42:46.000777Z

@mikebelanger what are you trying to do?

mikebelanger 2016-10-03T21:59:00.000778Z

@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?

flyboarder 2016-10-03T21:59:20.000779Z

yes

flyboarder 2016-10-03T22:00:09.000780Z

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

flyboarder 2016-10-03T22:00:52.000781Z

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

mikebelanger 2016-10-03T23:45:55.000784Z

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