Commit b2dffb3
don't run js_of_ocaml when flow_parser hasn't changed
Summary:
`make -C src/parser js` runs ocamlbuild to build flow_parser.js's bytecode, then calls js_of_ocaml. if the inputs haven't changed, then ocamlbuild doesn't `touch` flow_parser_dot_js.byte, which we can use to skip running js_of_ocaml when the inputs haven't changed.
this is similar to using the js_of_ocaml-ocamlbuild plugin, but doesn't require an ocamlbuild plugin.
Reviewed By: gabelevi
Differential Revision: D7519542
fbshipit-source-id: 8b12494bf0dec6456bdd2517ff6d26f1a2925ca31 parent 42d2dbf commit b2dffb3
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments