Simple test for the ocaml syntax for jbuild files
This commit is contained in:
parent
9983b3e7bd
commit
c815ea6f20
|
@ -91,4 +91,11 @@
|
|||
(deps ((files_recursively_in test-cases/meta-gen)))
|
||||
(action
|
||||
(chdir test-cases/meta-gen
|
||||
(setenv JBUILDER ${bin:jbuilder} (run ${exe:cram.exe} run.t))))))
|
||||
(setenv JBUILDER ${bin:jbuilder} (run ${exe:cram.exe} run.t))))))
|
||||
|
||||
(alias
|
||||
((name runtest)
|
||||
(deps ((files_recursively_in test-cases/ocaml-syntax)))
|
||||
(action
|
||||
(chdir test-cases/ocaml-syntax
|
||||
(setenv JBUILDER ${bin:jbuilder} (run ${exe:cram.exe} run.t))))))
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
(* -*- tuareg -*- *)
|
||||
|
||||
let () = Jbuild_plugin.V1.send {|
|
||||
(jbuild_version 1)
|
||||
|
||||
(alias
|
||||
((name runtest)
|
||||
(action (echo "ocaml syntax"))))
|
||||
|}
|
|
@ -0,0 +1,2 @@
|
|||
$ $JBUILDER runtest --force -j1 --root .
|
||||
ocaml syntax
|
Loading…
Reference in New Issue