Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

dont reinstall same binary versions #1003

Merged
merged 7 commits into from
May 12, 2020
Merged

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Jan 17, 2020

Fixes #768

This relies on this PR in @rustwasm/binary-install

@EverlastingBugstopper
Copy link
Contributor Author

@steveklabnik if you have time could you take a look? really appreciate the straightforward API you've provided with the semver crate 👍

@EverlastingBugstopper EverlastingBugstopper self-assigned this Jan 17, 2020
@EverlastingBugstopper EverlastingBugstopper force-pushed the avery/dont-reinstall branch 2 times, most recently from 9a848a3 to 1ca2784 Compare January 17, 2020 22:22
@EverlastingBugstopper EverlastingBugstopper changed the title wip: dont reinstall same binary versions dont reinstall same binary versions Jan 17, 2020
@EverlastingBugstopper EverlastingBugstopper force-pushed the avery/dont-reinstall branch 6 times, most recently from 70cf17e to bd198cc Compare January 21, 2020 17:05
@EverlastingBugstopper
Copy link
Contributor Author

this is good to go once a new version of binary-install is released. going to open another issue for some more work i'd like to do but it depends on work in #1190 so it should be ok to go through with this as is

@EverlastingBugstopper
Copy link
Contributor Author

binary-install has been published so this is ready for review. really excited for this to land.. finally

@PierBover
Copy link

Awesome! Thanks @EverlastingBugstopper I will try the binary once it's released.

@@ -66,3 +67,6 @@ predicates = "1.0.2"

[features]
vendored-openssl = ['openssl/vendored']

[profile.release]
debug = true
Copy link
Contributor

Choose a reason for hiding this comment

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

what's this mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh i was using this to debug, great great catch.

background: wranglerjs doesn't download a binary if you're in debug mode so i was building in release mode but still wanted some sorta debug annotation i think? honestly i added this so long ago i kinda forget why i added it

Copy link
Contributor

Choose a reason for hiding this comment

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

okay i thought it smelled funny 😀

@EverlastingBugstopper EverlastingBugstopper merged commit e41be8f into master May 12, 2020
@delete-merged-branch delete-merged-branch bot deleted the avery/dont-reinstall branch May 12, 2020 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing on every change wasm-pack / wranglerjs
5 participants