This commit is contained in:
Swrup 2022-12-04 22:42:55 +01:00
commit 6fd066773f
37 changed files with 1537 additions and 0 deletions

45
src/dune Normal file
View file

@ -0,0 +1,45 @@
(executable
(name pellest)
(modules
app
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)
(file content/assets/js/client.js))
(action
(with-stdout-to
%{null}
(run ocaml-crunch -m plain content -o %{target}))))