Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split into fetch-psc-packages and just-build parts #83

Open
robinp opened this issue Jan 28, 2018 · 1 comment
Open

Split into fetch-psc-packages and just-build parts #83

robinp opened this issue Jan 28, 2018 · 1 comment

Comments

@robinp
Copy link

robinp commented Jan 28, 2018

Sorry if this is already the case. Using psc-packages with success to build my project, but now I'm wrapping it up as a Nix expression, and it would help to be able to separate in two steps:

  1. Only creates .psc-package based on the psc-package.json file. Fetches from git and stuff. Doesn't build.

  2. Only builds, doesn't try to access network or in other way update .psc-package.

This would let me effectively cache 1), and rerun 2) relatively fast.

  1. might already be satisfied by some command (install? update?), but I'm not sure. For 2), psc-package build seems to try to check the updates (though I'm on a former version from stable Nix channel).

Thank you!

@nwolverson
Copy link
Contributor

A similar pattern tends to be useful for leveraging docker layer caching

Rembane pushed a commit to Rembane/psc-package that referenced this issue May 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants