(executable
 (name pellest)
 (modules
  app
  asset
  content
  pellest
  util
  template
  home
  register
  login
  user
  syntax
  db
  tyx_util)
 (libraries
  uuidm
  bos
  caqti
  caqti.blocking
  caqti-driver-sqlite3
  directories
  dream
  emile
  fpath
  lambdasoup
  lwt
  safepass
  scfg
  uri
  tyxml
  tyxml.functor
  yojson)
 (preprocess
  (pps lwt_ppx)))

(rule
 (target content.ml)
 (deps
  (source_tree content))
 (action
  (with-stdout-to
   %{null}
   (run ocaml-crunch -m plain content -o %{target}))))
