We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6defc86 commit 44b06b3Copy full SHA for 44b06b3
toplevel/examples/lwt_toplevel/dune
@@ -145,6 +145,23 @@
145
%{target}
146
(run ./effects_flags.exe txt %{profile}))))
147
148
+(rule
149
+ (target javascript_runtime_files.txt)
150
+ (action
151
+ (with-stdout-to
152
+ %{target}
153
+ (pipe-stdout
154
+ (run
155
+ ocamlfind
156
+ query
157
+ -format
158
+ "%+(jsoo_runtime)"
159
+ -r
160
+ js_of_ocaml-ppx.as-lib)
161
+ (with-accepted-exit-codes
162
+ (or 0 1)
163
+ (run grep -qv ^$))))))
164
+
165
(rule
166
(targets toplevel.js)
167
(action
@@ -169,6 +186,7 @@
169
186
--toplevel
170
187
--disable
171
188
shortvar
189
+ %{read-strings:javascript_runtime_files.txt}
172
190
%{dep:toplevel.bc}
173
191
-o
174
192
%{targets})))
0 commit comments