ligo/test/shell/jbuild
2018-02-05 23:34:04 +01:00

49 lines
1.2 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
tezos-test-helpers))
(flags (:standard -w -9-32
-safe-string
-open Tezos_base__TzPervasives
-open Tezos_test_helpers
-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} ${^}))))