ligo/src/proto_alpha/lib_protocol/test/jbuild
2018-02-12 02:09:00 +01:00

35 lines
931 B
Plaintext

(jbuild_version 1)
(executable
((name main)
(libraries (tezos-base
tezos-micheline
tezos_proto_alpha_isolate_helpers
tezos_proto_alpha_isolate_michelson_parser
alcotest-lwt))
(flags (:standard -w -9-32 -safe-string
-open Tezos_base__TzPervasives
-open Tezos_micheline
-open Tezos_proto_alpha_isolate_michelson_parser))))
(alias
((name buildtest)
(package tezos-protocol-alpha)
(deps (main.exe))))
(alias
((name runtest_proto_alpha)
(package tezos-protocol-alpha)
(deps (sandbox.json (glob_files contracts/*.tz)))
(action (chdir ${ROOT} (run ${exe:main.exe})))))
(alias
((name runtest)
(package tezos-protocol-alpha)
(deps ((alias runtest_proto_alpha)))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml*)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))