In Shake I create a rule for a dummy.stamp file which I write to after the translation has run.
In this action I found "needHasChanged <all java files>" to be very useful, in that it returns the list of only those files which have changed, which I can then pass directly to j2objc. But, I found that if I kill the build before it has finished, then "needHasChanged" will return zero files next time! It seems like it records the changed files in the database before knowing that the action has succeeded.
Is there a way to make this work reliably, even in the face of Ctrl-C?
- Robin