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 bbde56c commit da9c27fCopy full SHA for da9c27f
bin/build
@@ -0,0 +1 @@
1
+docker build -t ocaml:latest .
bin/run
@@ -0,0 +1,10 @@
+W=/workspace
2
+# Create container
3
+BUILD="ocamlbuild -quiet -use-ocamlfind cwtest.native"
4
+C=$(docker container create --rm -w $W ocaml:latest sh -c "$BUILD && exec ./cwtest.native")
5
+
6
+# Copy files
7
+docker container cp ${1:-examples/basic}/. $C:$W
8
9
+# Start
10
+docker container start --attach $C
0 commit comments