My brain might be fried right now (have been hacking on this Shakefile for 3 days straight), but I just can't figure out how to express a "one-way" dependency in Shake?
I am building (generating) hundreds of HTML files, and for them to work properly, they need one common CSS file to be generated. If I say something like...
"**.rst" %> \out -> do
need [cssFile, templateFile]
-- compile RST => HTML
... it results in ALL HTML files being re-built if the common CSS file changes!
How do I express the following in shake
:
- if
x
is built, make surey
is also built - however, if
y
changes,x
does NOT need to be re-built.