ligo/vendors/ligo-utils/tezos-protocol-alpha-parameters/dune
2019-10-17 11:45:27 +02:00

45 lines
1.1 KiB
Plaintext

(library
(name tezos_protocol_005_PsBabyM1_parameters)
(public_name tezos-protocol-005-PsBabyM1-parameters)
(modules :standard \ gen)
(libraries tezos-base
tezos-protocol-environment
tezos-protocol-005-PsBabyM1)
(flags (:standard -open Tezos_base__TzPervasives
-open Tezos_protocol_005_PsBabyM1
-linkall))
)
(executable
(name gen)
(libraries tezos-base
tezos-protocol-005-PsBabyM1-parameters)
(modules gen)
(flags (:standard -open Tezos_base__TzPervasives
-open Tezos_protocol_005_PsBabyM1_parameters
-linkall)))
(rule
(targets sandbox-parameters.json)
(deps gen.exe)
(action (run %{deps} --sandbox)))
(rule
(targets test-parameters.json)
(deps gen.exe)
(action (run %{deps} --test)))
(rule
(targets mainnet-parameters.json)
(deps gen.exe)
(action (run %{deps} --mainnet)))
(install
(section lib)
(files sandbox-parameters.json test-parameters.json mainnet-parameters.json))
(alias
(name runtest_lint)
(deps (glob_files *.ml{,i}))
(action (run %{lib:tezos-tooling:lint.sh} %{deps})))