#How can I have a build step depend on the contents of a directory?

1 messages · Page 1 of 1 (latest)

fierce cedar
#

I have some resources to embed. I need to preprocess some of them. I'd like to drive that through the build. But I don't want to call out every source file in the build script. The rule I'm looking for would be something like "any changes under this folder invalidate this artifact"

clear heart
fierce cedar
#

ok, thanks. it sounds like I'm not the first to ask 🙂

#

I saw the side effect workaround. I guess I can scan the directory at build time and add them all to the graph? does that sound expensive to you?

#

if I did that, will the build cache everything? or does it work on hashes/modstamps?

clear heart