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

Fix unnecessary recompilation #152

Merged
merged 2 commits into from Dec 19, 2022
Merged

Fix unnecessary recompilation #152

merged 2 commits into from Dec 19, 2022

Conversation

Giuspepe
Copy link
Contributor

@Giuspepe Giuspepe commented Dec 19, 2022

Compiling the CLI may write/update the pubspec.lock file, causing a different hash. This new has is now saved after compilation

@@ -434,7 +434,7 @@ packages:
name: sidekick_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.0"
version: "0.13.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should adjust the sidekick --version test.

  • Either don't check the sidekick_core version or
  • don't override the dependency to use the local path

@passsy passsy merged commit b0c04ad into main Dec 19, 2022
@passsy passsy deleted the fix-unnecessary-recompile branch December 19, 2022 16:01
@passsy passsy added the standalone-scripts All scripts related issues that allow the cli to run in standalone mode label Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standalone-scripts All scripts related issues that allow the cli to run in standalone mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants