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

Move build cache and fallback to copying #50

Merged
merged 4 commits into from
May 16, 2022
Merged

Conversation

matthewmueller
Copy link
Contributor

@matthewmueller matthewmueller commented May 15, 2022

This PR changes where cached builds are placed:

  • From: $TMPDIR/bud/cache
  • To: $YOUR_APP/bud/cache

to fix #27.

The ./bud/ directory should generally be ignored by source control anyways. If you do choose to vendor the ./bud/ directory, you can always git ignore ./bud/cache/. You could also run bud tool cache clean to remove the bud/cache directory.

We may find that this clutters up the project's bud/ directory too much, but it's better to try and unblock people, then figure out the ideal solution later.

I also hopefully fixed #30 and #46 with b906630.

This PR is a bit messier than I would have liked, but I took the opportunity to do some additional testing and cleanup. The main changes are in:

So overall, I'm hoping this PR resolves #27, #30 and #46 🤞

@matthewmueller matthewmueller changed the title Move build cache Move build cache and fallback to copying May 15, 2022
@matthewmueller matthewmueller merged commit 9273589 into main May 16, 2022
@matthewmueller matthewmueller deleted the move-build-cache branch May 16, 2022 06:38
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

Successfully merging this pull request may close these issues.

Error: invalid cross-device link stat $TMPDIR/bud/cache/4Lh3YtPjLfk: not a directory
1 participant