-
Notifications
You must be signed in to change notification settings - Fork 34
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
muSrcGenIdlType Tweak #839
Conversation
@@ -10,6 +10,6 @@ permalink: guides | |||
These guides are aimed at developers who are already familiar with Mu-Scala. | |||
|
|||
If you are new to Mu-Scala, we recommend you read the [Getting Started | |||
guide](../getting-started) and the [tutorials](../tutorials). | |||
guide](getting-started) and the [tutorials](tutorials). |
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.
As the user is in the index.html, the path is omitted by the browser. It seems that it's not needed to go back with ..
.
|
||
If you are already familiar with Mu-Scala, you may want to read about how to use | ||
its more advanced features in the [How-To Guides](../guides). | ||
its more advanced features in the [How-To Guides](guides). |
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.
Same happens in this file (index.md).
Codecov Report
@@ Coverage Diff @@
## master #839 +/- ##
=======================================
Coverage 71.63% 71.63%
=======================================
Files 69 69
Lines 1033 1033
Branches 19 21 +2
=======================================
Hits 740 740
Misses 293 293 Continue to review full report at Codecov.
|
What this does?
Currently, the
sbt-mu-srcgen
requires the sbt settingmuSrcGenIdlType
with a value different from the default one:Unknown
. This happens even for those sbt projects or submodules that have no protocols to generate sources from.As a workaround, the user can set up any of the valid values but it's not quite user-friendly.
In this PR, I'm removing the existing validation and changing it by simple check if-else. If the module has a "valid"
muSrcGenIdlType
, the plugin will run the code generator, and, in any other case, the plugin will return an empty list and, an informative message for the user.Additionally, I'm fixing a couple of broken links in the docs.
Checklist