Skip to content

Commit 5123969

Browse files
committed
+Makefile
1 parent ef6eeb6 commit 5123969

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export OPAMSWITCH="$PWD"
2+
eval $(opam env)
3+
PATH_add "$PWD/_bin"

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.PHONY: init
2+
init:
3+
opam switch create . 5.1.0 --no-install -y
4+
opam install . --deps-only -y
5+
opam install menhir.20210419 ocamlformat ocaml-lsp-server -y
6+
7+
.PHONY: build
8+
build:
9+
dune build
10+
11+
.PHONY: test
12+
test:
13+
dune test

test/mlx.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131

3232
$ echo 'let _ = <one>world</two>' | ./mlx
3333
BATCH
34-
File "*stdin*", line 1, characters 18-23:
34+
File "*stdin*", line 1, characters 18-24:
3535
Error: Syntax error: '</one>' expected
3636
File "*stdin*", line 1, characters 8-12:
3737
This '<one>' might be unmatched
3838

3939
MERLIN
40-
File "*stdin*", line 1, characters 18-23
40+
File "*stdin*", line 1, characters 18-24
4141
Error: Syntax error: '</one>' expected
4242
This '<one>' might be unmatched
4343

0 commit comments

Comments
 (0)