ocaml / ocamlbuild

The legacy OCamlbuild build manager
Other
121 stars 81 forks source link

Publish glob as standalone library #309

Closed hackwaly closed 3 years ago

hackwaly commented 3 years ago

I want to use glob match. But I can't find such good glob library on opam compared to your implementation.

Please publish it to opam. Thanks for your awsome works!

gasche commented 3 years ago

Thanks for the request; I'm working on this.

(The Glob module was written by Berke Durak, one of the two original authors of ocamlbuild with Nicolas Pouillard, and he may not follow the issue discussions anymore, but I agree that his code is nice.)

gasche commented 3 years ago

I published this code as a standalone library: https://gitlab.com/gasche/path_glob.

I have not submitted the library to the opam-repository yet.

Would you be willing to give a try to the library and see if you can use it from your codebase first? There may be small things to change that I could fix before releasing a stable version of the library.

hackwaly commented 3 years ago

I just tried it. Everything is fine except opam pin complains the dune_project hasn't a name field. I manually added it , then it works as expected.

# Error: The project name is not defined, please add a (name <name>) field to
# your dune-project file.
gasche commented 3 years ago

Thanks! I just added it. Tomorrow I will send it on opam-repository.

gasche commented 3 years ago

The library is now available as path_glob on opam.