Skip to content

Commit

Permalink
Dune/lib: run dune build @fmt --auto-promote
Browse files Browse the repository at this point in the history
Revamping an old PR
  • Loading branch information
dannywillems committed Dec 18, 2024
1 parent 01e9983 commit 992e2b2
Show file tree
Hide file tree
Showing 333 changed files with 7,610 additions and 6,693 deletions.
32 changes: 17 additions & 15 deletions src/lib/allocation_functor/dune
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
(library
(name allocation_functor)
(public_name allocation_functor)
(inline_tests (flags -verbose -show-counts))
(libraries
;; opam libraries
core_kernel
result
ppx_inline_test.config
sexplib0
;; local libraries
mina_metrics
ppx_version.runtime
)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_jane ppx_compare ppx_deriving_yojson ppx_version)))
(name allocation_functor)
(public_name allocation_functor)
(inline_tests
(flags -verbose -show-counts))
(libraries
;; opam libraries
core_kernel
result
ppx_inline_test.config
sexplib0
;; local libraries
mina_metrics
ppx_version.runtime)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_jane ppx_compare ppx_deriving_yojson ppx_version)))
35 changes: 18 additions & 17 deletions src/lib/base58_check/dune
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
(library
(name base58_check)
(public_name base58_check)
(inline_tests (flags -verbose -show-counts))
(inline_tests
(flags -verbose -show-counts))
(libraries
;; opam libraries
digestif
core_kernel
base58
base
ppx_inline_test.config
)
;; opam libraries
digestif
core_kernel
base58
base
ppx_inline_test.config)
(library_flags (-linkall))
(preprocess
(pps
ppx_assert
ppx_base
ppx_deriving.std
ppx_deriving_yojson
ppx_inline_test
ppx_let
ppx_sexp_conv
ppx_version))
(instrumentation (backend bisect_ppx))
ppx_assert
ppx_base
ppx_deriving.std
ppx_deriving_yojson
ppx_inline_test
ppx_let
ppx_sexp_conv
ppx_version))
(instrumentation
(backend bisect_ppx))
(synopsis "Base58Check implementation"))
6 changes: 4 additions & 2 deletions src/lib/bash_colors/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
(library
(name bash_colors)
(public_name bash_colors)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version)))
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version)))
63 changes: 32 additions & 31 deletions src/lib/best_tip_prover/dune
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
(library
(name best_tip_prover)
(public_name best_tip_prover)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_mina ppx_version ppx_jane ppx_compare))
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_mina ppx_version ppx_jane ppx_compare))
(libraries
;; opam libraries
core
core_kernel
async_kernel
;; local libraries
genesis_constants
consensus
with_hash
precomputed_values
proof_carrying_data
logger
truth
merkle_list_verifier
transition_frontier
mina_base
mina_intf
mina_state
mina_block
data_hash_lib
transition_frontier_base
merkle_list_prover
mina_stdlib
mina_wire_types
pickles.backend
snark_params
pickles
kimchi_pasta
kimchi_pasta.basic
))
;; opam libraries
core
core_kernel
async_kernel
;; local libraries
genesis_constants
consensus
with_hash
precomputed_values
proof_carrying_data
logger
truth
merkle_list_verifier
transition_frontier
mina_base
mina_intf
mina_state
mina_block
data_hash_lib
transition_frontier_base
merkle_list_prover
mina_stdlib
mina_wire_types
pickles.backend
snark_params
pickles
kimchi_pasta
kimchi_pasta.basic))
19 changes: 10 additions & 9 deletions src/lib/bignum_bigint/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
(name bignum_bigint)
(public_name bignum_bigint)
(library_flags -linkall)
(inline_tests (flags -verbose -show-counts))
(inline_tests
(flags -verbose -show-counts))
(libraries
;; opam libraries
core_kernel
async_kernel
bignum.bigint
;; local libraries
fold_lib
)
;; opam libraries
core_kernel
async_kernel
bignum.bigint
;; local libraries
fold_lib)
(preprocess
(pps ppx_version ppx_jane))
(instrumentation (backend bisect_ppx))
(instrumentation
(backend bisect_ppx))
(synopsis "Bignum's bigint re-exported as Bignum_bigint"))
33 changes: 18 additions & 15 deletions src/lib/blake2/dune
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
(library
(name blake2)
(public_name blake2)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_jane ppx_mina ppx_version ppx_compare ppx_deriving_yojson))
(inline_tests (flags -verbose -show-counts))
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_jane ppx_mina ppx_version ppx_compare ppx_deriving_yojson))
(inline_tests
(flags -verbose -show-counts))
(libraries
;; opam libraries
base.base_internalhash_types
bigarray-compat
bin_prot.shape
core_kernel
digestif
sexplib0
base.caml
ppx_inline_test.config
;; local libraries
bounded_types
ppx_version.runtime))
;; opam libraries
base.base_internalhash_types
bigarray-compat
bin_prot.shape
core_kernel
digestif
sexplib0
base.caml
ppx_inline_test.config
;; local libraries
bounded_types
ppx_version.runtime))
139 changes: 70 additions & 69 deletions src/lib/block_producer/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,77 @@
(name block_producer)
(public_name block_producer)
(library_flags -linkall)
(inline_tests (flags -verbose -show-counts))
(inline_tests
(flags -verbose -show-counts))
(libraries
;; opam libraries
sexplib0
async_kernel
core_kernel
core
async
integers
;; local libraries
mina_wire_types
mina_metrics
mina_net2
debug_assert
blockchain_snark
with_hash
truth
mina_numbers
transaction_snark
ledger_proof
error_json
currency
logger
signature_lib
transition_frontier
transaction_snark_scan_state
prover
mina_state
mina_intf
mina_ledger
mina_base
mina_transaction
mina_transaction_logic
mina_block
protocol_version
consensus
interruptible
o1trace
pipe_lib
network_pool
unix_timestamp
otp_lib
transition_chain_prover
vrf_evaluator
transition_frontier_base
block_time
staged_ledger
staged_ledger_diff
mina_compile_config
precomputed_values
coda_genesis_proof
transition_frontier_extensions
unsigned_extended
genesis_constants
data_hash_lib
sgn
sgn_type
node_error_service
pickles.backend
pasta_bindings
pickles
snark_params
kimchi_backend
kimchi_pasta
kimchi_pasta.basic
internal_tracing
mina_networking
mina_runtime_config
)
;; opam libraries
sexplib0
async_kernel
core_kernel
core
async
integers
;; local libraries
mina_wire_types
mina_metrics
mina_net2
debug_assert
blockchain_snark
with_hash
truth
mina_numbers
transaction_snark
ledger_proof
error_json
currency
logger
signature_lib
transition_frontier
transaction_snark_scan_state
prover
mina_state
mina_intf
mina_ledger
mina_base
mina_transaction
mina_transaction_logic
mina_block
protocol_version
consensus
interruptible
o1trace
pipe_lib
network_pool
unix_timestamp
otp_lib
transition_chain_prover
vrf_evaluator
transition_frontier_base
block_time
staged_ledger
staged_ledger_diff
mina_compile_config
precomputed_values
coda_genesis_proof
transition_frontier_extensions
unsigned_extended
genesis_constants
data_hash_lib
sgn
sgn_type
node_error_service
pickles.backend
pasta_bindings
pickles
snark_params
kimchi_backend
kimchi_pasta
kimchi_pasta.basic
internal_tracing
mina_networking
mina_runtime_config)
(preprocess
(pps ppx_mina ppx_version ppx_jane ppx_register_event))
(instrumentation (backend bisect_ppx))
(instrumentation
(backend bisect_ppx))
(synopsis "Coda block producer"))
Loading

0 comments on commit 992e2b2

Please sign in to comment.