Skip to content

Add nosyncgomod flag#2215

Merged
leaanthony merged 2 commits into
masterfrom
bugfix/sync_go_mod
Dec 20, 2022
Merged

Add nosyncgomod flag#2215
leaanthony merged 2 commits into
masterfrom
bugfix/sync_go_mod

Conversation

@leaanthony

Copy link
Copy Markdown
Member

This is an alternative approach to not having the go.mod synced to your wails CLI version. It fixes the tests on master.

@mholt - could you please confirm this works for you? Adding -nosyncgomod to dev or build should trigger it 👍

@stffabi stffabi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@mholt

mholt commented Dec 19, 2022

Copy link
Copy Markdown
Contributor

Hi, sorry for the late reply. Been down with the flu for a few days! I will try this out ASAP, but I also don't want you to be blocked by me while I catch up with things. The previous patch that disables syncing implicitly based on a revision/non-tagged commit works well for me, and it looks like this patch simply adds an explicit CLI flag to forcefully disable syncing. If that's right, then I think this is great too. At a glance it doesn't look like it would break anything, at least for my use case. 👍

@leaanthony leaanthony merged commit 8067a1c into master Dec 20, 2022
@leaanthony leaanthony deleted the bugfix/sync_go_mod branch December 20, 2022 11:08
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.

3 participants