dbuenzli / topkg

The transitory OCaml software packager
http://erratique.ch/software/topkg
ISC License
69 stars 25 forks source link

`topkg distrib` never finishes #128

Closed Chris00 closed 5 years ago

Chris00 commented 6 years ago

Doing topkg distrib --verbose on the project https://github.com/Chris00/ocaml-crlibm stalls after the line:

pkg.ml: [INFO] Watermarked src/crlibm/docs/latex/fig_scs/exponent_representation.eps

(BTW, the directory src/crlibm/docs needs not be put in the tarball. Is there a way to tell that to topkg?)

dbuenzli commented 6 years ago

(BTW, the directory src/crlibm/docs needs not be put in the tarball. Is there a way to tell that to topkg?)

Yes, see the exclude_paths argument of Pkg.distrib.

I suspect you are running into https://github.com/samoht/dune-release/pull/11

dbuenzli commented 6 years ago

Yes, see the exclude_paths argument of Pkg.distrib.

(See uucp in the menagerie) for an example.

Chris00 commented 6 years ago

Thanks — that was quick to do with your indications.

Maybe you want to exclude .ps and .eps files from watermarking by default??

dbuenzli commented 6 years ago

Maybe you want to exclude .ps and .eps files from watermarking by default??

Certainly a good idea.