use ppx_unicode
This commit is contained in:
parent
6e2d67d8d5
commit
195b2d5296
|
@ -1 +1,2 @@
|
|||
/_build
|
||||
/result
|
||||
|
|
|
@ -18,4 +18,5 @@
|
|||
(uri "https://git.lain.faith/haskal/xlog.git"))
|
||||
(depends ocaml dune
|
||||
(ptime (>= 1.1))
|
||||
(ppxlib (>= 0.32))))
|
||||
(ppxlib (>= 0.32))
|
||||
(ppx_unicode (>= 0.0.1))))
|
||||
|
|
1
lib/dune
1
lib/dune
|
@ -1,4 +1,5 @@
|
|||
(library
|
||||
(name xlog)
|
||||
(public_name xlog)
|
||||
(preprocess (pps ppx_unicode))
|
||||
(libraries ptime ptime.clock.os str unix))
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
buildDunePackage,
|
||||
ptime,
|
||||
ppxlib,
|
||||
ppx_unicode,
|
||||
|
||||
ocaml,
|
||||
dune_3,
|
||||
|
@ -29,10 +30,9 @@ in buildDunePackage rec {
|
|||
minimalOCamlVersion = "5.1";
|
||||
dontStrip = true;
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
propagatedBuildInputs = [ ptime ];
|
||||
|
||||
nativeBuildInputs = lib.optionals enableShell [
|
||||
buildInputs = [ ppx_unicode ];
|
||||
propagatedBuildInputs = [ ptime ppxlib ];
|
||||
nativeBuildInputs = [ ppxlib ppx_unicode ] ++ lib.optionals enableShell [
|
||||
ocaml dune_3 odoc utop
|
||||
];
|
||||
}
|
||||
|
|
2
ppx/dune
2
ppx/dune
|
@ -3,6 +3,6 @@
|
|||
(public_name xlog.ppx)
|
||||
(synopsis "ppx rewriters for xlog")
|
||||
(preprocess
|
||||
(pps ppxlib.metaquot))
|
||||
(pps ppx_unicode ppxlib.metaquot))
|
||||
(libraries ppxlib)
|
||||
(kind ppx_rewriter))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(test
|
||||
(name test_xlog)
|
||||
(preprocess (pps xlog.ppx))
|
||||
(preprocess (pps ppx_unicode xlog.ppx))
|
||||
(libraries xlog))
|
||||
|
|
Loading…
Reference in New Issue