ligo/test/proto_alpha/jbuild
Grégoire Henry b6449cae87 Jbuilder: split src/utils/ in multiple OPAM packages
* `lib_stdlib`: basic extended OCaml stdlib and generic data structures

* `lib_data_encoding`: almost independant 'Data_encoding'
* `lib_error_monad`: almost independant 'Error_monad'

* `lib_stdlib_lwt`: extended Lwt library
* `lib_crypto`: all the crypto stuff (hashing, signing, cryptobox).

* `lib_base`:
  - basic type definitions (Block_header, Operation, ...)
  - a module `TzPervasives` to bind them all and to be the
    single module opened everywhere.

In the process, I splitted `Tezos_data` and `Hash` in multiple
submodules, thus removing a lot of `-open`.

The following two modules may not have found their place yet:
- Base58 (currently in `lib_crypto`)
- Cli_entries (currently in `lib_stdlib_lwt`)
2017-12-04 16:05:54 +01:00

68 lines
1.8 KiB
Plaintext

(jbuild_version 1)
(executables
((names (test_endorsement
;; test_michelson_parser
test_origination
test_transaction
test_vote))
(libraries (tezos-base
test_lib
client_lib
client_embedded_genesis
client_embedded_alpha))
(flags (:standard -w -9-32 -safe-string
-open Tezos_base__TzPervasives
-open Tezos_protocol_environment_alpha
-open Tezos_embedded_raw_protocol_alpha
-open Tezos_context
-open Client_embedded_alpha))))
(alias
((name buildtest)
(deps (test_endorsement.exe
;; test_michelson_parser.exe
test_origination.exe
test_transaction.exe
test_vote.exe))))
(alias
((name runtest_endorsement)
(deps (../../src/node_main.exe
sandbox.json))
(locks (/tcp-port/18100))
(action (run ${exe:test_endorsement.exe}))))
(alias
((name runtest_origination)
(deps (../../src/node_main.exe
sandbox.json))
(locks (/tcp-port/18200))
(action (run ${exe:test_origination.exe}))))
(alias
((name runtest_transaction)
(deps (../../src/node_main.exe
sandbox.json))
(locks (/tcp-port/18300))
(action (run ${exe:test_transaction.exe}))))
(alias
((name runtest_vote)
(deps (../../src/node_main.exe
sandbox-vote.json))
(locks (/tcp-port/18400))
(action (run ${exe:test_vote.exe}))))
(alias
((name runtest)
(deps ((alias runtest_endorsement)
(alias runtest_origination)
(alias runtest_transaction)
(alias runtest_vote)))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))