We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6c891 commit e27015aCopy full SHA for e27015a
.devcontainer/devcontainer.json
@@ -0,0 +1,17 @@
1
+{
2
+ "name": "ReScript Compiler",
3
+ "build": {
4
+ "context": "..",
5
+ "dockerfile": "../docker/Dockerfile"
6
+ },
7
+ "features": {},
8
+ "customizations": {
9
+ "vscode": {
10
+ "extensions": [
11
+ "chenglou92.rescript-vscode",
12
+ "biomejs.biome"
13
+ ]
14
+ }
15
16
+ "postCreateCommand": ".devcontainer/postCreate.sh"
17
+}
.devcontainer/postCreate.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Install dev dependencies from OPAM
+opam install . --deps-only -y
+# For IDE support, install the OCaml language server
+opam install ocaml-lsp-server -y
+# Add OPAM environment setup to shell startup script
+echo 'eval $(opam env)' >> ~/.bashrc
+npm install --ignore-scripts
0 commit comments