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