-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdune.mel
614 lines (607 loc) · 30.7 KB
/
dune.mel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
(subdir node_modules/reason-react/src
(dirs :standard legacy)
(rule
(targets React.re.pp.ml)
(deps (:inputs React.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets React.ast)
(deps (:inputs React.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets React.d)
(deps (:inputs .././src/React.ast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets React.cmj React.cmi React.cmt React.bs.js)
(alias mel)
(mode (promote (until-clean) (only React.bs.js)))(deps (:inputs React.ast) (include React.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o React.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOM.re.pp.ml)
(deps (:inputs ReactDOM.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOM.ast)
(deps (:inputs ReactDOM.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOM.d)
(deps (:inputs .././src/ReactDOM.ast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOM.cmj ReactDOM.cmi ReactDOM.cmt ReactDOM.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactDOM.bs.js)))(deps (:inputs ReactDOM.ast) (include ReactDOM.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReactDOM.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.re.pp.ml)
(deps (:inputs ReactEvent.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.ast)
(deps (:inputs ReactEvent.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.d)
(deps (:inputs .././src/ReactEvent.ast .././src/ReactEvent.iast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.rei.pp.mli)
(deps (:inputs ReactEvent.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.iast)
(deps (:inputs ReactEvent.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.cmi ReactEvent.cmti)
(alias mel)
(deps (:inputs ReactEvent.iast) (include ReactEvent.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -o ReactEvent.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEvent.cmj ReactEvent.cmt ReactEvent.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactEvent.bs.js)))(deps (:inputs ReactEvent.ast) ReactEvent.cmi (include ReactEvent.d) ../bsconfig.json)
(action
(run melc -bs-read-cmi -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReactEvent.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMStyle.re.pp.ml)
(deps (:inputs ReactDOMStyle.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMStyle.ast)
(deps (:inputs ReactDOMStyle.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMStyle.d)
(deps (:inputs .././src/ReactDOMStyle.ast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMStyle.cmj ReactDOMStyle.cmi ReactDOMStyle.cmt ReactDOMStyle.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactDOMStyle.bs.js)))(deps (:inputs ReactDOMStyle.ast) (include ReactDOMStyle.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReactDOMStyle.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServer.re.pp.ml)
(deps (:inputs ReactDOMServer.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServer.ast)
(deps (:inputs ReactDOMServer.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServer.d)
(deps (:inputs .././src/ReactDOMServer.ast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServer.cmj ReactDOMServer.cmi ReactDOMServer.cmt ReactDOMServer.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactDOMServer.bs.js)))(deps (:inputs ReactDOMServer.ast) (include ReactDOMServer.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReactDOMServer.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.re.pp.ml)
(deps (:inputs ReactTestUtils.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.ast)
(deps (:inputs ReactTestUtils.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.d)
(deps (:inputs .././src/ReactTestUtils.ast .././src/ReactTestUtils.iast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.rei.pp.mli)
(deps (:inputs ReactTestUtils.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.iast)
(deps (:inputs ReactTestUtils.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.cmi ReactTestUtils.cmti)
(alias mel)
(deps (:inputs ReactTestUtils.iast) (include ReactTestUtils.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -o ReactTestUtils.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactTestUtils.cmj ReactTestUtils.cmt ReactTestUtils.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactTestUtils.bs.js)))(deps (:inputs ReactTestUtils.ast) ReactTestUtils.cmi (include ReactTestUtils.d) ../bsconfig.json)
(action
(run melc -bs-read-cmi -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReactTestUtils.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.re.pp.ml)
(deps (:inputs ReasonReactRouter.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.ast)
(deps (:inputs ReasonReactRouter.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.d)
(deps (:inputs .././src/ReasonReactRouter.ast .././src/ReasonReactRouter.iast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.rei.pp.mli)
(deps (:inputs ReasonReactRouter.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.iast)
(deps (:inputs ReasonReactRouter.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.cmi ReasonReactRouter.cmti)
(alias mel)
(deps (:inputs ReasonReactRouter.iast) (include ReasonReactRouter.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -o ReasonReactRouter.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactRouter.cmj ReasonReactRouter.cmt ReasonReactRouter.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReasonReactRouter.bs.js)))(deps (:inputs ReasonReactRouter.ast) ReasonReactRouter.cmi (include ReasonReactRouter.d) ../bsconfig.json)
(action
(run melc -bs-read-cmi -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReasonReactRouter.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.re.pp.ml)
(deps (:inputs ReasonReactErrorBoundary.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.ast)
(deps (:inputs ReasonReactErrorBoundary.re.pp.ml) ../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.d)
(deps (:inputs .././src/ReasonReactErrorBoundary.ast .././src/ReasonReactErrorBoundary.iast) )
(action (run meldep -root-dir ../../.. -p reason-react -proj-dir .. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.rei.pp.mli)
(deps (:inputs ReasonReactErrorBoundary.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.iast)
(deps (:inputs ReasonReactErrorBoundary.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.cmi ReasonReactErrorBoundary.cmti)
(alias mel)
(deps (:inputs ReasonReactErrorBoundary.iast) (include ReasonReactErrorBoundary.d) ../bsconfig.json)
(action
(run melc -I legacy -I . -bs-no-version-header -w a -o ReasonReactErrorBoundary.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactErrorBoundary.cmj ReasonReactErrorBoundary.cmt ReasonReactErrorBoundary.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReasonReactErrorBoundary.bs.js)))(deps (:inputs ReasonReactErrorBoundary.ast) ReasonReactErrorBoundary.cmi (include ReasonReactErrorBoundary.d) ../bsconfig.json)
(action
(run melc -bs-read-cmi -I legacy -I . -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src:.bs.js -o ReasonReactErrorBoundary.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
)
(subdir node_modules/reason-react/src/legacy
(rule
(targets ReactDOMRe.re.pp.ml)
(deps (:inputs ReactDOMRe.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMRe.ast)
(deps (:inputs ReactDOMRe.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMRe.d)
(deps (:inputs ../.././src/legacy/ReactDOMRe.ast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMRe.cmj ReactDOMRe.cmi ReactDOMRe.cmt ReactDOMRe.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactDOMRe.bs.js)))(deps (:inputs ReactDOMRe.ast) (include ReactDOMRe.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReactDOMRe.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.re.pp.ml)
(deps (:inputs ReasonReact.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.ast)
(deps (:inputs ReasonReact.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.d)
(deps (:inputs ../.././src/legacy/ReasonReact.ast ../.././src/legacy/ReasonReact.iast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.rei.pp.mli)
(deps (:inputs ReasonReact.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.iast)
(deps (:inputs ReasonReact.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.cmi ReasonReact.cmti)
(alias mel)
(deps (:inputs ReasonReact.iast) (include ReasonReact.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -o ReasonReact.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReact.cmj ReasonReact.cmt ReasonReact.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReasonReact.bs.js)))(deps (:inputs ReasonReact.ast) ReasonReact.cmi (include ReasonReact.d) ../../bsconfig.json)
(action
(run melc -bs-read-cmi -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReasonReact.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.re.pp.ml)
(deps (:inputs ReactEventRe.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.ast)
(deps (:inputs ReactEventRe.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.d)
(deps (:inputs ../.././src/legacy/ReactEventRe.ast ../.././src/legacy/ReactEventRe.iast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.rei.pp.mli)
(deps (:inputs ReactEventRe.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.iast)
(deps (:inputs ReactEventRe.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.cmi ReactEventRe.cmti)
(alias mel)
(deps (:inputs ReactEventRe.iast) (include ReactEventRe.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -o ReactEventRe.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactEventRe.cmj ReactEventRe.cmt ReactEventRe.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactEventRe.bs.js)))(deps (:inputs ReactEventRe.ast) ReactEventRe.cmi (include ReactEventRe.d) ../../bsconfig.json)
(action
(run melc -bs-read-cmi -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReactEventRe.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServerRe.re.pp.ml)
(deps (:inputs ReactDOMServerRe.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServerRe.ast)
(deps (:inputs ReactDOMServerRe.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServerRe.d)
(deps (:inputs ../.././src/legacy/ReactDOMServerRe.ast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReactDOMServerRe.cmj ReactDOMServerRe.cmi ReactDOMServerRe.cmt ReactDOMServerRe.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReactDOMServerRe.bs.js)))(deps (:inputs ReactDOMServerRe.ast) (include ReactDOMServerRe.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReactDOMServerRe.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.re.pp.ml)
(deps (:inputs ReasonReactCompat.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.ast)
(deps (:inputs ReasonReactCompat.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.d)
(deps (:inputs ../.././src/legacy/ReasonReactCompat.ast ../.././src/legacy/ReasonReactCompat.iast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.rei.pp.mli)
(deps (:inputs ReasonReactCompat.rei) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.iast)
(deps (:inputs ReasonReactCompat.rei.pp.mli) )
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.cmi ReasonReactCompat.cmti)
(alias mel)
(deps (:inputs ReasonReactCompat.iast) (include ReasonReactCompat.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -o ReasonReactCompat.cmi %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactCompat.cmj ReasonReactCompat.cmt ReasonReactCompat.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReasonReactCompat.bs.js)))(deps (:inputs ReasonReactCompat.ast) ReasonReactCompat.cmi (include ReasonReactCompat.d) ../../bsconfig.json)
(action
(run melc -bs-read-cmi -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReasonReactCompat.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactOptimizedCreateClass.re.pp.ml)
(deps (:inputs ReasonReactOptimizedCreateClass.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactOptimizedCreateClass.ast)
(deps (:inputs ReasonReactOptimizedCreateClass.re.pp.ml) ../../../../.melange.eobjs/node_modules/reason-react/.bsbuild)
(action
(run melc -w a -bs-jsx 3 -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactOptimizedCreateClass.d)
(deps (:inputs ../.././src/legacy/ReasonReactOptimizedCreateClass.ast) )
(action (run meldep -root-dir ../../../.. -p reason-react -proj-dir ../.. %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets ReasonReactOptimizedCreateClass.cmj ReasonReactOptimizedCreateClass.cmi ReasonReactOptimizedCreateClass.cmt ReasonReactOptimizedCreateClass.bs.js)
(alias mel)
(mode (promote (until-clean) (only ReasonReactOptimizedCreateClass.bs.js)))(deps (:inputs ReasonReactOptimizedCreateClass.ast) (include ReasonReactOptimizedCreateClass.d) ../../bsconfig.json)
(action
(run melc -I . -I .. -bs-no-version-header -w a -bs-package-name reason-react -bs-package-output commonjs:./src/legacy:.bs.js -o ReasonReactOptimizedCreateClass.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
)
(subdir .melange.eobjs/node_modules/reason-react
(rule (write-file .bsbuild MTQKUmVhY3QKUmVhY3RET00KUmVhY3RET01SZQpSZWFjdEV2ZW50ClJlYXNvblJlYWN0ClJlYWN0RXZlbnRSZQpSZWFjdERPTVN0eWxlClJlYWN0RE9NU2VydmVyClJlYWN0VGVzdFV0aWxzClJlYWN0RE9NU2VydmVyUmUKUmVhc29uUmVhY3RDb21wYXQKUmVhc29uUmVhY3RSb3V0ZXIKUmVhc29uUmVhY3RFcnJvckJvdW5kYXJ5ClJlYXNvblJlYWN0T3B0aW1pemVkQ3JlYXRlQ2xhc3MKLi9zcmMJLi9zcmMvbGVnYWN5CQoxAQEDAQMDAQEBAwMBAQMKMAo=))
)
(subdir src
(rule
(targets App.re.pp.ml)
(deps (:inputs App.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets App.ast)
(deps (:inputs App.re.pp.ml) ../.melange.eobjs/.bsbuild)
(action
(run melc -bs-jsx 3 -bs-super-errors -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets App.d)
(deps (:inputs .././src/App.ast) )
(action (run meldep -root-dir .. -p yup-of-json-www -proj-dir .. -bs-ns YupOfJsonsavi2wDev %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets App-YupOfJsonsavi2wDev.cmj App-YupOfJsonsavi2wDev.cmi App-YupOfJsonsavi2wDev.cmt App.bs.js)
(alias mel)
(mode (promote (until-clean) (only App.bs.js)))(deps (:inputs App.ast) (include App.d) ../bsconfig.json ../.melange.eobjs/YupOfJsonsavi2wDev.cmi(alias ../node_modules/reason-react/src/mel)(alias ../node_modules/reason-react/src/legacy/mel))
(action
(run melc -bs-ns YupOfJsonsavi2wDev -I . -I ../.melange.eobjs -I ../node_modules/reason-react/src -I ../node_modules/reason-react/src/legacy -bs-super-errors -bs-no-version-header -bs-package-name yup-of-json-www -bs-package-output commonjs:./src:.bs.js -o App-YupOfJsonsavi2wDev.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets Index.re.pp.ml)
(deps (:inputs Index.re) )
(action
(with-stdout-to %{targets}
(run refmt --print=binary %{inputs})))
(enabled_if %{bin-available:melc}) )
(rule
(targets Index.ast)
(deps (:inputs Index.re.pp.ml) ../.melange.eobjs/.bsbuild)
(action
(run melc -bs-jsx 3 -bs-super-errors -bs-no-version-header -absname -bs-ast -o %{targets} %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets Index.d)
(deps (:inputs .././src/Index.ast) )
(action (run meldep -root-dir .. -p yup-of-json-www -proj-dir .. -bs-ns YupOfJsonsavi2wDev %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule
(targets Index-YupOfJsonsavi2wDev.cmj Index-YupOfJsonsavi2wDev.cmi Index-YupOfJsonsavi2wDev.cmt Index.bs.js)
(alias mel)
(mode (promote (until-clean) (only Index.bs.js)))(deps (:inputs Index.ast) (include Index.d) ../bsconfig.json ../.melange.eobjs/YupOfJsonsavi2wDev.cmi(alias ../node_modules/reason-react/src/mel)(alias ../node_modules/reason-react/src/legacy/mel))
(action
(run melc -bs-ns YupOfJsonsavi2wDev -I . -I ../.melange.eobjs -I ../node_modules/reason-react/src -I ../node_modules/reason-react/src/legacy -bs-super-errors -bs-no-version-header -bs-package-name yup-of-json-www -bs-package-output commonjs:./src:.bs.js -o Index-YupOfJsonsavi2wDev.cmj %{inputs}))
(enabled_if %{bin-available:melc}) )
)
(subdir .melange.eobjs
(rule (with-stdout-to YupOfJsonsavi2wDev.mlmap (run echo "App
Index
")))(rule
(targets YupOfJsonsavi2wDev.cmi)
(deps (:inputs YupOfJsonsavi2wDev.mlmap) )
(action (run melc -w -49 -color always -no-alias-deps %{inputs}))
(enabled_if %{bin-available:melc}) )
(rule (write-file .bsbuild MgpBcHAKSW5kZXgKLi9zcmMJCjEBAQowCg==))
(rule (write-file .sourcedirs.json "{ \"dirs\" : [ \"/Users/savi2w/repos/yup-of-json-www/node_modules/reason-react/./src\" , \"/Users/savi2w/repos/yup-of-json-www/node_modules/reason-react/./src/legacy\" , \"/Users/savi2w/repos/yup-of-json-www/./src\" ] , \"pkgs\" : [ [ \"reason-react\" , \"/Users/savi2w/repos/yup-of-json-www/node_modules/reason-react\" ] ] , \"generated\" : [] }"))
)
(data_only_dirs node_modules .melange.eobjs)
(alias (name mel) (deps .melange.eobjs/.sourcedirs.json (alias node_modules/reason-react/src/mel)(alias node_modules/reason-react/src/legacy/mel)))
(rule (targets (dir melange.commonjs))
(alias UNSTABLE_mel)
(action (chdir %{targets} (progn
(run mkdir -p src)
(run cp %{sources-0} src) (system "rm -f src/*.{ast,cm*,d}")
(run rm -f src/App.bs.js)
(run melc -bs-ns YupOfJsonsavi2wDev -I ../../.melange.eobjs -I ../src -I ../node_modules/reason-react/src -I ../node_modules/reason-react/src/legacy -bs-package-name yup-of-json-www -bs-module-type commonjs ../src/App-YupOfJsonsavi2wDev.cmj -o src/App.bs.js)
(run rm -f src/Index.bs.js)
(run melc -bs-ns YupOfJsonsavi2wDev -I ../../.melange.eobjs -I ../src -I ../node_modules/reason-react/src -I ../node_modules/reason-react/src/legacy -bs-package-name yup-of-json-www -bs-module-type commonjs ../src/Index-YupOfJsonsavi2wDev.cmj -o src/Index.bs.js)
(run mkdir -p node_modules/reason-react/src)
(run cp %{sources-1} node_modules/reason-react/src) (system "rm -f node_modules/reason-react/src/*.{ast,cm*,d}")
(run rm -f node_modules/reason-react/src/React.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/React.cmj -o node_modules/reason-react/src/React.bs.js)
(run rm -f node_modules/reason-react/src/ReactDOM.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReactDOM.cmj -o node_modules/reason-react/src/ReactDOM.bs.js)
(run rm -f node_modules/reason-react/src/ReactEvent.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReactEvent.cmj -o node_modules/reason-react/src/ReactEvent.bs.js)
(run rm -f node_modules/reason-react/src/ReactDOMStyle.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReactDOMStyle.cmj -o node_modules/reason-react/src/ReactDOMStyle.bs.js)
(run rm -f node_modules/reason-react/src/ReactDOMServer.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReactDOMServer.cmj -o node_modules/reason-react/src/ReactDOMServer.bs.js)
(run rm -f node_modules/reason-react/src/ReactTestUtils.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReactTestUtils.cmj -o node_modules/reason-react/src/ReactTestUtils.bs.js)
(run rm -f node_modules/reason-react/src/ReasonReactRouter.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReasonReactRouter.cmj -o node_modules/reason-react/src/ReasonReactRouter.bs.js)
(run rm -f node_modules/reason-react/src/ReasonReactErrorBoundary.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/ReasonReactErrorBoundary.cmj -o node_modules/reason-react/src/ReasonReactErrorBoundary.bs.js)
(run mkdir -p node_modules/reason-react/src/legacy)
(run cp %{sources-2} node_modules/reason-react/src/legacy) (system "rm -f node_modules/reason-react/src/legacy/*.{ast,cm*,d}")
(run rm -f node_modules/reason-react/src/legacy/ReactDOMRe.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReactDOMRe.cmj -o node_modules/reason-react/src/legacy/ReactDOMRe.bs.js)
(run rm -f node_modules/reason-react/src/legacy/ReasonReact.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReasonReact.cmj -o node_modules/reason-react/src/legacy/ReasonReact.bs.js)
(run rm -f node_modules/reason-react/src/legacy/ReactEventRe.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReactEventRe.cmj -o node_modules/reason-react/src/legacy/ReactEventRe.bs.js)
(run rm -f node_modules/reason-react/src/legacy/ReactDOMServerRe.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReactDOMServerRe.cmj -o node_modules/reason-react/src/legacy/ReactDOMServerRe.bs.js)
(run rm -f node_modules/reason-react/src/legacy/ReasonReactCompat.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReasonReactCompat.cmj -o node_modules/reason-react/src/legacy/ReasonReactCompat.bs.js)
(run rm -f node_modules/reason-react/src/legacy/ReasonReactOptimizedCreateClass.bs.js)
(run melc -I ../node_modules/reason-react/src/legacy -I ../node_modules/reason-react/src -bs-package-name reason-react -bs-module-type commonjs ../node_modules/reason-react/src/legacy/ReasonReactOptimizedCreateClass.cmj -o node_modules/reason-react/src/legacy/ReasonReactOptimizedCreateClass.bs.js)
(run cp -f ../bsconfig.json .) ))) (deps (:sources-0 (glob_files src/*))
(:sources-1 (glob_files node_modules/reason-react/src/*))
(:sources-2 (glob_files node_modules/reason-react/src/legacy/*))))