ligo/src/test/dune
Christian Rinderknecht 9570caac53 Refactoring to bring local builds of the parsers closer to the global build.
Added --expr to parse expressions.
2020-01-14 01:27:35 +01:00

49 lines
926 B
Plaintext

(ocamllex md)
(executables
(names test doc_test parser_negative_tests)
(libraries
simple-utils
ligo
alcotest
tezos-crypto
)
(preprocess
(pps ppx_let)
)
(flags (:standard -w +1..62-4-9-44-40-42-48@39@33 -open Simple_utils ))
)
(alias
(name doc-test)
(action (run ./doc_test.exe))
(deps (source_tree ../../gitlab-pages/docs))
)
(alias
(name parser-negative-tests)
(action (run ./parser_negative_tests.exe))
(deps
../passes/1-parser/pascaligo/all.ligo
../passes/1-parser/cameligo/all.mligo
../passes/1-parser/reasonligo/all.religo
))
(alias
(name ligo-test)
(action (run ./test.exe))
(deps (glob_files contracts/*)
(glob_files contracts/negative/*))
)
(alias
(name runtest)
(deps (alias ligo-test) (alias doc-test) (alias parser-negative-tests))
)
(alias
(name manual-test)
(action (run ./manual_test.exe))
(deps (glob_files contracts/*))
)