tarides / ocaml-platform-installer

The best way for developers to write software in OCaml
ISC License
61 stars 8 forks source link

Consider all tools binary only #134

Closed panglesd closed 1 year ago

panglesd commented 1 year ago

As discussed in #128, distinguishing between tools that ship libraries and tools that only consists of binaries has now more disadvantages than advantages: Indeed, more tools will be added as dependencies of packages with the opam 2.2 with-dev-tools, and would be reinstalled by opam.

This PR makes ocaml-platform consider all tools as pure binaries.

Although the new cache is compatible, it would be nice to have it versioned before releasing this modification.

Now-irrelevant tests are removed from the codebase.

panglesd commented 1 year ago

I think that we still need a way to recognize if a package is a binary one or not. At least for ocaml-version-dependent one, when looking for the best version, now that binary repository are activated, but also for users to know which version is installed.

I went with the simpler +platform, appended this time to the version.

We need to update the README for this PR, but not before releasing...

(maybe we should anyway find a way to only use the official opam-repository when looking for the best version.)

Julow commented 1 year ago

Of course, formatting broke !