-
Notifications
You must be signed in to change notification settings - Fork 570
feat: scaffold a new app without a default module #1214
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
Conversation
|
wdyt about adopting a convention |
Mmh I actually don't know, |
|
But yeah, I agree, let's stick to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Hold on a sec, before merging. Let's try modifying the changelog in the same PR with the code changes. |
We can still see if we want to switch to this convention in the future. There are other flags to rename as well (no-message) My concern was if this naming would be confusing to users but if this is used for other technologies, this is fine |
|
Yes, let's merge this one after releasing v0.16.1. |
…t/starport into feat/no-default-module
integration/cmd_app_test.go
Outdated
|
|
||
| path := filepath.Join(root, appName) | ||
|
|
||
| _, statErr := os.Stat(filepath.Join(path, "config.yml")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to move this check to EnsureAppIsSteady?
| } | ||
|
|
||
| func TestGenerateAnAppWithWasmAndVerify(t *testing.T) { | ||
| func TestGenerateAnAppWithNoDefaultModule(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should check presence of the custom module dir at $path/x/blog, what do you think?
…t/starport into feat/no-default-module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌

The flag
--no-default-modulefor the commandappscaffold the app without a module under/x