esy-ocaml/hello-ocaml

an example esy-powered OCaml project

JavaScript

55

93 commits

updated Sep 27, 2020

See the code

README

hello-ocaml

Build status Build Status

A project which demonstrates an OCaml workflow with Esy.

Usage

You need Esy, you can install the beta using npm:

% npm install -g esy

Then you can install the project dependencies using:

% esy install

Then build the project dependencies along with the project itself:

% esy build

Now you can run your editor within the environment (which also includes merlin):

% esy $EDITOR
% esy vim

After you make some changes to source code, you can re-run project's build using:

% esy build

And test compiled executable:

% esy ./_build/default/bin/hello.exe

Shell into environment:

% esy shell

Contributors

andreypopp

87 commits

jordwalke

5 commits

chenglou

1 commits

esy-ocaml/hello-ocaml

an example esy-powered OCaml project

JavaScript

55

93 commits

updated Sep 27, 2020

See the code

README

hello-ocaml

Build status Build Status

A project which demonstrates an OCaml workflow with Esy.

Usage

You need Esy, you can install the beta using npm:

% npm install -g esy

Then you can install the project dependencies using:

% esy install

Then build the project dependencies along with the project itself:

% esy build

Now you can run your editor within the environment (which also includes merlin):

% esy $EDITOR
% esy vim

After you make some changes to source code, you can re-run project's build using:

% esy build

And test compiled executable:

% esy ./_build/default/bin/hello.exe

Shell into environment:

% esy shell

Contributors

andreypopp

87 commits

jordwalke

5 commits

chenglou

1 commits

Languages

JavaScript

95.7%

OCaml

2.1%

Shell

1.5%