ligo/test/shell/jbuild
2018-01-30 10:13:40 +01:00

48 lines
1.1 KiB
Plaintext

(jbuild_version 1)
(executables
((names (test_context
test_state
test_store))
(libraries (tezos-base
tezos-storage
tezos-shell
tezos-embedded-protocol-demo
tezos-embedded-protocol-alpha
tezos-embedded-protocol-genesis
test_lib))
(flags (:standard -w -9-32
-safe-string
-open Tezos_base__TzPervasives
-open Tezos_storage
-open Tezos_shell))))
(alias
((name buildtest)
(deps (test_context.exe
test_state.exe
test_store.exe))))
(alias
((name runtest_context)
(action (run ${exe:test_context.exe}))))
(alias
((name runtest_state)
(action (run ${exe:test_state.exe}))))
(alias
((name runtest_store)
(action (run ${exe:test_store.exe}))))
(alias
((name runtest)
(deps ((alias runtest_context)
(alias runtest_state)
(alias runtest_store)))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))