-
Notifications
You must be signed in to change notification settings - Fork 9
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
KTOR-8069 Add dev
command to run an application in development mode mode
#45
base: main
Are you sure you want to change the base?
Conversation
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.
LGTM! I have only a few minor comments
|
||
if len(catalogKeys) > 0 { | ||
hasCatalog := false | ||
catalogName := "libs.versions.toml" |
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.
Minor. Should this work for catalogs with non-default name? Something different from libs
} | ||
} | ||
|
||
version = semver{major: major, minor: minor, patch: patch, valid: true} |
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.
Just curious. When valid
will be false
? By default?
internal/app/project/gradle.go
Outdated
numResults++ | ||
|
||
if result.found && pVersion.valid && pVersion.aboveOrEqual(minPluginVersion) { | ||
runTask = fmt.Sprintf(":%s:run", result.dirName) |
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.
Should we use relative path and replace /
with ":" to support nested projects?
https://youtrack.jetbrains.com/issue/KTOR-8069