Skip to content

Commit

Permalink
Support OCaml build tools followup (ocaml#299)
Browse files Browse the repository at this point in the history
* Add hello_world script

* Delete description in esy.json
  • Loading branch information
rdavison committed Apr 21, 2021
1 parent 8cbb330 commit 2a12a4c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions site/bin/hello_world/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(executable
(name hello_world)
)
1 change: 1 addition & 0 deletions site/bin/hello_world/hello_world.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = print_endline "Hello World"
1 change: 1 addition & 0 deletions site/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(dirs bin)
3 changes: 3 additions & 0 deletions site/dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(lang dune 2.8)
(name ocamlorg)
(generate_opam_files true)
2 changes: 2 additions & 0 deletions site/dune-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(lang dune 2.8)
(context default)
1 change: 0 additions & 1 deletion site/esy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "0.0.0",
"author": "The OCaml.org team",
"license": "ISC",
"description": "Solvuu root",
"esy": {
"build": "dune build --root #{self.root} --profile=release @install",
"buildDev": "dune build --root #{self.root} --profile=dev @all",
Expand Down

0 comments on commit 2a12a4c

Please sign in to comment.