Skip to content

Commit

Permalink
Merge pull request #16130 from MinaProtocol/dw/reformat-dune-files-sr…
Browse files Browse the repository at this point in the history
…c-app-develop

[develop] format: run `dune fmt` in src/app
  • Loading branch information
dannywillems authored Oct 2, 2024
2 parents 9662219 + fff5487 commit ddc829a
Show file tree
Hide file tree
Showing 50 changed files with 1,737 additions and 1,524 deletions.
39 changes: 20 additions & 19 deletions src/app/archive/cli/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
(name archive_cli)
(public_name archive.cli)
(libraries
;;opam libraries
async_kernel
caqti
archive_lib
core
async
caqti-async
core_kernel
async.async_command
;;local libraries
genesis_constants
mina_runtime_config
cli_lib
logger
block_time
mina_version
)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version ppx_jane ppx_mina)))
;;opam libraries
async_kernel
caqti
archive_lib
core
async
caqti-async
core_kernel
async.async_command
;;local libraries
genesis_constants
mina_runtime_config
cli_lib
logger
block_time
mina_version)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version ppx_jane ppx_mina)))
47 changes: 38 additions & 9 deletions src/app/archive/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,55 @@
(public_name archive)
(modules archive)
(modes native)
(libraries archive_cli async async_unix core_kernel base mina_version bounded_types)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version)))
(libraries
archive_cli
async
async_unix
core_kernel
base
mina_version
bounded_types)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version)))

(executable
(package archive)
(name archive_testnet_signatures)
(public_name archive-testnet)
(modules archive_testnet_signatures)
(modes native)
(libraries archive_cli mina_signature_kind.testnet async async_unix core_kernel base mina_version bounded_types)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version)))
(libraries
archive_cli
mina_signature_kind.testnet
async
async_unix
core_kernel
base
mina_version
bounded_types)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version)))

(executable
(package archive)
(name archive_mainnet_signatures)
(public_name archive-mainnet)
(modules archive_mainnet_signatures)
(modes native)
(libraries archive_cli mina_signature_kind.mainnet async async_unix core_kernel base mina_version bounded_types)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version)))
(libraries
archive_cli
mina_signature_kind.mainnet
async
async_unix
core_kernel
base
mina_version
bounded_types)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version)))
160 changes: 84 additions & 76 deletions src/app/archive/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,88 @@
(name archive_lib)
(public_name archive_lib)
(libraries
;;opam libraries
sexplib0
async_unix
base64
async_rpc_kernel
base.caml
base.base_internalhash_types
bin_prot.shape
async_kernel
caqti-driver-postgresql
core
async
core_kernel
caqti
caqti-async
async.async_rpc
integers
ppx_inline_test.config
uri
;;local libraries
bounded_types
mina_wire_types
kimchi_backend
child_processes
precomputed_values
coda_genesis_ledger
consensus.vrf
mina_runtime_config
sgn
mina_base.util
kimchi_pasta
kimchi_pasta.basic
pickles
random_oracle
pipe_lib
block_time
currency
staged_ledger
data_hash_lib
transition_frontier_base
genesis_ledger_helper
one_or_two
mina_caqti
mina_generators
zkapp_command_builder
mina_base
mina_ledger
mina_block
transition_frontier
logger
mina_metrics
signature_lib
mina_numbers
unsigned_extended
mina_state
pickles_types
pickles.backend
with_hash
mina_base.import
consensus
genesis_constants
genesis_ledger_helper.lib
verifier
quickcheck_lib
snark_params
mina_transaction
protocol_version
staged_ledger_diff
error_json
ppx_deriving_yojson.runtime
ppx_version.runtime
o1trace
)
(inline_tests (flags -verbose -show-counts))
;;opam libraries
sexplib0
async_unix
base64
async_rpc_kernel
base.caml
base.base_internalhash_types
bin_prot.shape
async_kernel
caqti-driver-postgresql
core
async
core_kernel
caqti
caqti-async
async.async_rpc
integers
ppx_inline_test.config
uri
;;local libraries
bounded_types
mina_wire_types
kimchi_backend
child_processes
precomputed_values
coda_genesis_ledger
consensus.vrf
mina_runtime_config
sgn
mina_base.util
kimchi_pasta
kimchi_pasta.basic
pickles
random_oracle
pipe_lib
block_time
currency
staged_ledger
data_hash_lib
transition_frontier_base
genesis_ledger_helper
one_or_two
mina_caqti
mina_generators
zkapp_command_builder
mina_base
mina_ledger
mina_block
transition_frontier
logger
mina_metrics
signature_lib
mina_numbers
unsigned_extended
mina_state
pickles_types
pickles.backend
with_hash
mina_base.import
consensus
genesis_constants
genesis_ledger_helper.lib
verifier
quickcheck_lib
snark_params
mina_transaction
protocol_version
staged_ledger_diff
error_json
ppx_deriving_yojson.runtime
ppx_version.runtime
o1trace)
(inline_tests
(flags -verbose -show-counts))
(modes native)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_mina ppx_version ppx_jane ppx_custom_printf ppx_deriving_yojson h_list.ppx)))
(instrumentation
(backend bisect_ppx))
(preprocess
(pps
ppx_mina
ppx_version
ppx_jane
ppx_custom_printf
ppx_deriving_yojson
h_list.ppx)))
49 changes: 25 additions & 24 deletions src/app/archive_blocks/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,28 @@
(name archive_blocks)
(public_name archive_blocks)
(libraries
;; opam libraries
async_unix
core
result
async_kernel
uri
stdio
caqti-driver-postgresql
caqti
async
core_kernel
caqti-async
base
base.caml
async.async_command
;; local libraries
logger
mina_block
bounded_types
genesis_constants
archive_lib
)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_version ppx_mina ppx_let ppx_hash ppx_compare ppx_sexp_conv)))
;; opam libraries
async_unix
core
result
async_kernel
uri
stdio
caqti-driver-postgresql
caqti
async
core_kernel
caqti-async
base
base.caml
async.async_command
;; local libraries
logger
mina_block
bounded_types
genesis_constants
archive_lib)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_version ppx_mina ppx_let ppx_hash ppx_compare ppx_sexp_conv)))
63 changes: 30 additions & 33 deletions src/app/batch_txn_tool/dune
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
(executable
(name batch_txn_tool)
(libraries
;; opam libraries
async.async_command
integers
base
uri
core_kernel
core
async
async_kernel
yojson
async_unix
;; local libraries
currency
mina_base.import
graphql_lib
signature_lib
mina_base
secrets
mina_numbers
snark_params
unsigned_extended
mina_compile_config
mina_wire_types
integration_test_lib
logger
bounded_types
)
(instrumentation (backend bisect_ppx))
;; opam libraries
async.async_command
integers
base
uri
core_kernel
core
async
async_kernel
yojson
async_unix
;; local libraries
currency
mina_base.import
graphql_lib
signature_lib
mina_base
secrets
mina_numbers
snark_params
unsigned_extended
mina_compile_config
mina_wire_types
integration_test_lib
logger
bounded_types)
(instrumentation
(backend bisect_ppx))
(preprocessor_deps ../../../graphql_schema.json)
(preprocess (pps
ppx_version
ppx_let
ppx_mina
)))
(preprocess
(pps ppx_version ppx_let ppx_mina)))
Loading

0 comments on commit ddc829a

Please sign in to comment.