From 5089f82291d3d729a80e599d6d9028854ab58fb1 Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Wed, 17 Jan 2024 09:32:47 +0100 Subject: [PATCH] Initial commit --- .devcontainer/Dockerfile | 3 +++ .devcontainer/devcontainer.json | 12 ++++++++++++ .gitignore | 1 + dune | 1 + dune-project | 2 ++ 5 files changed, 19 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 .gitignore create mode 100644 dune create mode 100644 dune-project diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..d7c5b03 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,3 @@ +FROM ocaml/opam +RUN opam update +RUN opam install -y dune merlin ocamlformat utop ocaml-lsp-server diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..d8bc04c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,12 @@ +{ + "name": "OCaml.org", + "dockerFile": "Dockerfile", + "customizations": { + "vscode": { + "extensions": ["ocamllabs.ocaml-platform"] + } + }, + "containerUser": "opam", + "forwardPorts": [8080], + "onCreateCommand": "opam install --deps-only --with-doc --with-test --yes ." +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e35d885 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_build diff --git a/dune b/dune new file mode 100644 index 0000000..8f9e8a6 --- /dev/null +++ b/dune @@ -0,0 +1 @@ +(library (name camellito) (public_name camellito)) diff --git a/dune-project b/dune-project new file mode 100644 index 0000000..8b46a49 --- /dev/null +++ b/dune-project @@ -0,0 +1,2 @@ +(lang dune 3.12) +(package (name camellito))