Browse Source

update bisect_ppx usage

master
zapashcanon 2 years ago
parent
commit
936dfa051e
Signed by: zapashcanon GPG Key ID: 8981C3C62D1D28F1
  1. 2
      .build.yml
  2. 12
      dune-project
  3. 2
      src/dune

2
.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: |

12
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 <contact@ndrs.fr>")
(authors "Léo Andrès <contact@ndrs.fr>")
(maintainers "L\195\169o Andr\195\168s <contact@ndrs.fr>")
(maintainers "Léo Andrès <contact@ndrs.fr>")
(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))))

2
src/dune

@ -1,4 +1,4 @@
(library
(public_name omg)
(preprocess
(pps bisect_ppx -conditional)))
(pps bisect_ppx -- --conditional)))

Loading…
Cancel
Save