Closed edwintorok closed 3 years ago
Otherwise trying to install bun would downgrade dune to 1.11.4, which would then fail to build my project which uses Dune 2.x.
See https://github.com/ocaml/dune/issues/2912, bun was relying on a dune feature that was part of a breaking change in 2.0.
Move the new target (creation of file) out of the alias into a separate rule, which then works on both old and new dune.
Thanks - I've applied #18 which also adds support for dune 2.
Otherwise trying to install bun would downgrade dune to 1.11.4, which would then fail to build my project which uses Dune 2.x.
See https://github.com/ocaml/dune/issues/2912, bun was relying on a dune feature that was part of a breaking change in 2.0.
Move the new target (creation of file) out of the alias into a separate rule, which then works on both old and new dune.