purescript-contrib / pulp

A build tool for PureScript projects
GNU Lesser General Public License v3.0
443 stars 86 forks source link

Support for building against precompiled dependencies #254

Open Hithroc opened 7 years ago

Hithroc commented 7 years ago

Is there a way to build only dependencies without building the project itself?

Couldn't find anything in pulp build --help

hdgarrood commented 7 years ago

Not explicitly, but I think you could sort of hack it to do that by setting --src-path to a directory which doesn't contain any source files. Why do you want to do this, btw?

Hithroc commented 7 years ago

I want my build dependencies to be cached, so I don't have to rebuild them each time in a new container (that takes about 20 minutes)

hdgarrood commented 7 years ago

Ah, ok, so I guess you'd be interested in https://github.com/purescript/purescript/issues/2477 ?

hdgarrood commented 7 years ago

I think I'd prefer to address that issue in the compiler and then revisit this.