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

Refactored build command #2123

Merged
merged 12 commits into from
Dec 1, 2022
Merged

Refactored build command #2123

merged 12 commits into from
Dec 1, 2022

Conversation

leaanthony
Copy link
Member

This PR refactors the build command. Why do this? A number of the commands share similar flags and we have a lot of redundant code. We also have inconsistent style. By taking advantage of the latest clir release, we can tidy a lot of this code up. If the approach is agreed on, I'll move to the others.

@leaanthony leaanthony requested a review from stffabi November 22, 2022 08:09
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 22, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9a74ee3
Status: ✅  Deploy successful!
Preview URL: https://88bbb30c.wails.pages.dev
Branch Preview URL: https://feature-refactor-cli.wails.pages.dev

View logs

Copy link
Collaborator

@stffabi stffabi left a comment

Choose a reason for hiding this comment

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

LGTM 🚀, just added a comment with a minor fix.

v2/cmd/wails/build.go Outdated Show resolved Hide resolved
@leaanthony leaanthony marked this pull request as ready for review November 24, 2022 10:30
@leaanthony leaanthony requested a review from stffabi November 24, 2022 10:30
# Conflicts:
#	v2/cmd/wails/internal/commands/build/build.go
#	v2/cmd/wails/internal/commands/dev/dev.go
#	v2/cmd/wails/internal/commands/generate/README.md
#	v2/cmd/wails/internal/commands/generate/module.go
@leaanthony leaanthony requested a review from misitebao November 29, 2022 09:39
@leaanthony leaanthony merged commit ea6aee9 into master Dec 1, 2022
@leaanthony leaanthony deleted the feature/refactor_cli branch December 1, 2022 07:18
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.

2 participants