Update tests for linting
This commit is contained in:
parent
ca1c8dd897
commit
f490540538
|
@ -7,6 +7,10 @@
|
|||
((name rlib)
|
||||
(public_name rlib)
|
||||
(modules (bar cppome foo hello pped))
|
||||
(lint
|
||||
(per_module
|
||||
((pps (reasonppx (-lint true))) (hello cppome))
|
||||
((action (run ./pp/reasononlypp.exe -lint ${<})) (foo bar pped))))
|
||||
(preprocess
|
||||
(per_module
|
||||
((pps (reasonppx)) (foo))
|
||||
|
@ -16,6 +20,7 @@
|
|||
(executable
|
||||
((name rbin)
|
||||
(modules (rbin))
|
||||
(lint (action (run ./pp/reasononlypp.exe -lint ${<})))
|
||||
(preprocess (action (run ./pp/reasononlypp.exe ${<})))
|
||||
(libraries (rlib))))
|
||||
|
||||
|
@ -28,4 +33,4 @@
|
|||
(alias
|
||||
((name runtest)
|
||||
(deps (rbin.exe))
|
||||
(action (run ${<}))))
|
||||
(action (run ${<}))))
|
||||
|
|
|
@ -86,3 +86,9 @@
|
|||
"_build/install/default/lib/rlib/rlib.a"
|
||||
"_build/install/default/lib/rlib/rlib.cmxs"
|
||||
]
|
||||
ocamlopt rbin.exe
|
||||
rbin alias runtest
|
||||
Cppome
|
||||
hello world
|
||||
Bar
|
||||
Foo
|
||||
|
|
Loading…
Reference in New Issue