Closed dbuenzli closed 4 years ago
Assemblage is a build system? I thought assemblage would be build system agnostic.
The Assemblage API that allows you to describe your project exposes a build system model. What to do with this model is up to drivers that consume the project description.
OK, Phew. Awesome! Keep up the good work.
First I think it would be a shame to propose a new build system without having a clear strategy on that topic. We may not get to it immediately but at least we should pave the way. There are two different issues that need to be dealt with 1) Make sure the API allows us to express things in a portable way. 2) Having a driver that is actually able to run on windows to build a project. I focus on 1).
Given the new configuration API I don't think this should be too hard, and if the user doesn't do crazy things we could guarantee him that he gets a portable build system. There are a few things to sort out though.
Conf
accordingly. Maybe also provide a combinator for that.ext_*
, variables ofocamlc config
.Path
module and used pervasively. Verify that we do the right thing. One thing I don't get is how to handle absolute paths on windows.Sys.command
orUnix.create_process
?Acmd
module.