Skip to content

Use .dart_tool/pub as the cache directory #1796

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

Merged
merged 2 commits into from
Feb 2, 2018
Merged

Use .dart_tool/pub as the cache directory #1796

merged 2 commits into from
Feb 2, 2018

Conversation

nex3
Copy link
Member

@nex3 nex3 commented Feb 2, 2018

No description provided.

These were in separate files for infrastructure reasons that no longer
apply.
@nex3 nex3 requested a review from natebosch February 2, 2018 00:10
@kevmoo
Copy link
Member

kevmoo commented Feb 2, 2018

If we're really going to run with this

  1. Awesome! So glad!
  2. We should create a doc (or meta bug) to track the places that should be updated
  • stagehand
  • open source templates
  • github ignores for languages
  • site-www
  1. email dart-core-eng an FYI
  2. email announce@ an FYI

CC @kwalrath

Pub will continue to read cached files from .pub if it exists. Any
time it modifies the cache, it will migrate .pub to .dart_tool/pub.

Closes #1795
@@ -133,15 +133,26 @@ class Entrypoint {
/// The path to the entrypoint package's lockfile.
String get lockFilePath => root.path('pubspec.lock');

/// The path to the entrypoint package's `.dart_tool/pub` cache directory.
///
/// If the old-style `.pub` directory is being used, this returns that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice way to ease the transition

@nex3 nex3 merged commit df4f2e6 into master Feb 2, 2018
@nex3 nex3 deleted the dart-tool-dir branch February 2, 2018 01:16
@kevmoo
Copy link
Member

kevmoo commented Feb 2, 2018

Moved my comment to dart-lang/sdk#32030

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

Successfully merging this pull request may close these issues.

4 participants