This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(lang dune 3.8)
|
||||
|
||||
(using melange 0.1)
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
(library
|
||||
(name lib)
|
||||
(modules y)
|
||||
(modes melange))
|
||||
|
||||
(melange.emit
|
||||
(target simple)
|
||||
(alias mel)
|
||||
(modules x)
|
||||
(emit_stdlib false)
|
||||
(libraries lib))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
let buy_it = "buy " ^ Lib.Y.it
|
||||
|
||||
let () = Js.log buy_it
|
||||
|
|
@ -0,0 +1 @@
|
|||
let it = "it"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
Using `melange.emit` inside the same folder as the library works fine
|
||||
|
||||
$ output=lib/simple
|
||||
$ dune build @mel
|
||||
$ node _build/default/$output/lib/x.js
|
||||
buy it
|
||||
Loading…
Add table
Add a link
Reference in a new issue