mte/src/dune
swrup 4e860da2f7 JJ: Description from the destination commit:
+ exchangedb-postgres

JJ: Description from source commit:
better config: parse file + crunch
2025-11-20 21:45:53 +01:00

51 lines
687 B
Text

(executable
(public_name mte)
(name mte)
(modules mte)
(libraries mte))
(library
(name mte)
(wrapped false)
(modules :standard \ mte b32 amount)
(libraries
amount
b32
;
include
parse_config
;
caqti
caqti-miou
caqti-miou.unix
caqti-driver-pgx
bin
angstrom
zarith ;
mirage-crypto
digestif
duration
vif
fmt
jsont
cohttp
ptime))
(library ; crockford base32
(name b32)
(modules b32)
(libraries base32))
(library
(name amount)
(modules amount)
(libraries angstrom fmt zarith))
(rule
(target assets_crunch.ml)
(deps
(source_tree assets))
(action
(with-stdout-to
%{null}
(run ocaml-crunch -m plain assets -o %{target}))))