From 936dfa051edf962606218278d6dba27b0712dcab Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Sun, 2 Aug 2020 03:51:11 +0200 Subject: [PATCH] update bisect_ppx usage --- .build.yml | 2 +- dune-project | 12 ++++-------- src/dune | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.build.yml b/.build.yml index ad252aa..ef845cb 100644 --- a/.build.yml +++ b/.build.yml @@ -45,7 +45,7 @@ tasks: eval "$(opam env)" dune clean BISECT_ENABLE=YES dune runtest --no-buffer --force > /dev/null - bisect-ppx-report -html _coverage/ "$(find . -name 'bisect*.out')" + bisect-ppx-report html ssh $sshopts $deploy "mkdir -p $coverage_dst/$name/" scp $sshopts -r _coverage/* $deploy:$coverage_dst/$name/ - archive: | diff --git a/dune-project b/dune-project index 0268373..276fbb8 100644 --- a/dune-project +++ b/dune-project @@ -1,12 +1,12 @@ -(lang dune 1.11) +(lang dune 2.0) (name omg) (license ISC) -(authors "L\195\169o Andr\195\168s ") +(authors "Léo Andrès ") -(maintainers "L\195\169o Andr\195\168s ") +(maintainers "Léo Andrès ") (source (uri git://git.zapashcanon.fr/zapashcanon/omg.git)) @@ -19,8 +19,6 @@ (generate_opam_files true) -(explicit_js_mode) - (package (name omg) (synopsis "Generate text using Markov chains") @@ -30,6 +28,4 @@ (ocaml (>= 4.05.0)) (dune - (>= 1.11.0)) - (bisect_ppx - (>= 1.4.1)))) + (>= 1.11.0)))) diff --git a/src/dune b/src/dune index eeca0c3..ab03082 100644 --- a/src/dune +++ b/src/dune @@ -1,4 +1,4 @@ (library (public_name omg) (preprocess - (pps bisect_ppx -conditional))) + (pps bisect_ppx -- --conditional)))