close
Skip to content

Refactored build command#2123

Merged
leaanthony merged 12 commits into
masterfrom
feature/refactor_cli
Dec 1, 2022
Merged

Refactored build command#2123
leaanthony merged 12 commits into
masterfrom
feature/refactor_cli

Conversation

@leaanthony

Copy link
Copy Markdown
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

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

Copy link
Copy Markdown

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

@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 🚀, just added a comment with a minor fix.

Comment thread v2/cmd/wails/build.go Outdated
@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