samoht / assemblage

A collection of tools to manage the configuration of OCaml projects
54 stars 4 forks source link

`assemblage setup` should not mandate pkgs to be present to execute #85

Closed dbuenzli closed 10 years ago

dbuenzli commented 10 years ago

E.g.

+ Loading assemble.ml. 
ERROR: The ocamlfind packages lit.gl lit and lit.u are not installed, stopping.

Or is there anything that prevents this ? I thought that nowadays all ocamlfind lookups were dynamic.

dbuenzli commented 10 years ago

Related to #89.

samoht commented 10 years ago

That's just a sanity check

On 15 Aug 2014, at 14:33, Daniel Bünzli notifications@github.com wrote:

E.g.

  • Loading assemble.ml. ERROR: The ocamlfind packages lit.gl lit and lit.u are not installed, stopping. Or is there anything that prevents this ? I thought that nowadays all ocamlfind lookups were dynamic.

— Reply to this email directly or view it on GitHub.

dbuenzli commented 10 years ago

Yeah but you don't want that. Suppose you are somewhere where you don't have the whole environment, you still want to be able to generate the Makefile.

dbuenzli commented 10 years ago

I mean external name references (namely packages) should not be dereferenced at build system generation time.

dbuenzli commented 10 years ago

Also internal references I think. In fact we should do that but report warnings rather than error + stop.