ocaml-decoders icon indicating copy to clipboard operation
ocaml-decoders copied to clipboard

Install bs-decoders from opam

Open psb opened this issue 2 years ago • 0 comments

Hi,

Please can you make bs-decoders installable from opam. It would be easier for beginners like me to use them with Melange.

I did eventually figure out how to use bs-decoders (installed from npm) using stanzas, but I also had to copy shims_let_ops_.ml in node_modules/bs-decoders/src-bs into the node_modules/bs-decoders/src folder.

I did see:

(rule
 (targets shims_let_ops_.ml)
 (action
  (with-stdout-to
   %{targets}
   (run ./gen/mkshims.exe))))

but this is beyond a beginner like me.

I can try making a pull request if you can point me in the right direction as to how to make bs-decoders installable from opam.

Thanks.

psb avatar Jul 03 '23 19:07 psb