--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is no obvious problem with your piece of code (except perhaps for the lack of escaping).
By "update a.ml" you mean change the contents right? If you just change timestamps or do a change and undo it every fast, jenga is not going to redo the copy.
If so, what if you delete a.ml2? Does jenga rebuild the file then?
On Fri, Nov 14, 2014 at 12:18 PM, Valentin Gatien-Baron <vgatie...@janestreet.com> wrote:There is no obvious problem with your piece of code (except perhaps for the lack of escaping).What should I be escaping?
By "update a.ml" you mean change the contents right? If you just change timestamps or do a change and undo it every fast, jenga is not going to redo the copy.I open an editor, add a line, and save the file. So the change is real and not too fast.
If so, what if you delete a.ml2? Does jenga rebuild the file then?Yes, then it does get rebuilt.
What should I be escaping?The pathnames.
If it doesn't, there is an executable called jenga-offline which can be used to dump the persistent state of jenga. Can you check that in here, your copy rule appear and a.ml is listed as a dependency?
Does the md5sum in the path just return MD5??
On Fri, Nov 14, 2014 at 1:11 PM, Valentin Gatien-Baron <vgatie...@janestreet.com> wrote:Does the md5sum in the path just return MD5??I'm on a Mac.So the bug is here:It assumes the output of md5 on a Mac is formatted the same as that on Linux machines, which print:
On Fri, Nov 14, 2014 at 1:23 PM, Ashish Agarwal <agarw...@gmail.com> wrote:On Fri, Nov 14, 2014 at 1:11 PM, Valentin Gatien-Baron <vgatie...@janestreet.com> wrote:Does the md5sum in the path just return MD5??I'm on a Mac.So the bug is here:It assumes the output of md5 on a Mac is formatted the same as that on Linux machines, which print:Ok. While Nick or Arseniy fix this, you can apparently say JENGA_SYSTEM=dumb to use the Digest module instead.