Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 716 Bytes

CONTRIBUTING.md

File metadata and controls

51 lines (33 loc) · 716 Bytes

Contributing

Building the project from source

Install OCaml

Install Bun

Create an opam switch for the project

opam switch create .

Build OCaml/Reason assets

dune build

Install JavaScr*pt assets

bun install

Running the project

There are two options. You can run

bun build/src/cli.mjs

or you can link the project so it can be run as if installed globally

bun link

After every dune build you'll need to change the file perms of the built entrypoint

chmod +x ./build/src/cli.mjs

Then you can call CMA as if it's globally installed

create-melange-app