(executable
 (name trustee)
 (modes js)
 (js_of_ocaml
  (javascript_files
   ../../../../vendor/sjcl/sjcl.js
   ../../../../vendor/jsbn/BigIntCompatFull.js
   ../../../../vendor/libsodium/libsodium.js))
 (libraries
  js_of_ocaml-lwt
  js_of_ocaml-tyxml
  belenios-platform-js
  belenios-lib
  belenios-lib.api
  belenios_js)
 (preprocess
  (pps js_of_ocaml-ppx)))

(install
 (files
  (trustee.html as apps/trustee.html))
 (section share)
 (package belenios-server))
