ligo/src/proto_alpha/lib_protocol/test/jbuild

34 lines
953 B
Plaintext
Raw Normal View History

2018-01-16 01:09:25 +04:00
(jbuild_version 1)
2018-02-06 00:48:10 +04:00
(executable
((name main)
2018-01-16 01:09:25 +04:00
(libraries (tezos-base
2018-02-02 19:26:02 +04:00
tezos-test-helpers
tezos_proto_alpha_isolate_helpers
tezos_proto_alpha_isolate_michelson_parser))
2018-01-16 01:09:25 +04:00
(flags (:standard -w -9-32 -safe-string
-open Tezos_base__TzPervasives
2018-02-02 19:26:02 +04:00
-open Tezos_test_helpers
-open Tezos_proto_alpha_isolate_michelson_parser))))
2018-01-16 01:09:25 +04:00
(alias
((name buildtest)
(package tezos-protocol-alpha)
2018-02-06 00:48:10 +04:00
(deps (main.exe))))
2018-01-16 01:09:25 +04:00
(alias
2018-02-06 00:48:10 +04:00
((name runtest_proto_alpha)
(package tezos-protocol-alpha)
(deps (sandbox.json (glob_files contracts/*.tz)))
2018-02-06 00:48:10 +04:00
(action (chdir ${ROOT} (run ${exe:main.exe} ${path-no-dep:contracts})))))
2018-01-16 01:09:25 +04:00
(alias
((name runtest)
(package tezos-protocol-alpha)
2018-02-06 00:48:10 +04:00
(deps ((alias runtest_proto_alpha)))))
2018-01-16 01:09:25 +04:00
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))