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

cache builds locally. #101

Open
bukzor opened this issue Jul 28, 2014 · 2 comments
Open

cache builds locally. #101

bukzor opened this issue Jul 28, 2014 · 2 comments

Comments

@bukzor
Copy link

bukzor commented Jul 28, 2014

@springmeyer and I discussed this at some length on freenode #mapbox last Friday.
Here are my notes: bukzor@c6481ae

The general idea is that if you build something with node-pre-cache twice, the second build should be cached and very quick, even if the upstream manager has not published a build for your platform.

@bukzor
Copy link
Author

bukzor commented Jul 28, 2014

This is my attempt to add a put-to-cache just after build.
I'm not familiar with nodejs best practices (or even js really), so please tell me what I did wrong :)

bukzor@9ec7f64

@springmeyer
Copy link
Contributor

Looking quite good so far. Can you queue up as a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants