浏览代码

add ocaml

txlyre 1 年之前
父节点
当前提交
65963203f7
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 1 0
      langs/ocaml/Dockerfile
  2. 7 0
      langs/ocaml/run.sh

+ 1 - 0
langs/ocaml/Dockerfile

@@ -0,0 +1 @@
+RUN apt-get install ocaml -y

+ 7 - 0
langs/ocaml/run.sh

@@ -0,0 +1,7 @@
+#!/usr/bin/bash
+
+IN="$(mktemp --suffix .ocaml)"
+
+cat > "$IN"
+
+ocaml "$IN"