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

Add Scala to start.vertx.io #626

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

oliver-brm
Copy link
Contributor

@oliver-brm oliver-brm commented Dec 1, 2024

Motivation:

Now that we have vertx-lang-scala in Maven Central, we could offer it via start.vertx.io!

This is a follow-up from PR #624. It fixes the formatting changes I did back then.

This PR adds

  • the Scala template files
  • a Maven template
  • a Gradle template

Closes vert-x3/vertx-lang-scala#106
Closes vert-x3/vertx-lang-scala#105
Closes #118

@@ -292,7 +293,7 @@ private void verifyMavenFiles() {

private void verifyMavenOutputFiles() throws IOException {
try (Stream<Path> pathStream = Files.walk(workdir)) {
Optional<Path> testResult = pathStream.filter(p -> p.toString().endsWith("TestMainVerticle.txt")).findFirst();
Optional<Path> testResult = pathStream.filter(p -> p.toString().endsWith("TestMainVerticle.xml")).findFirst();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tsegismont ScalaTest does not generate *.txt files, except for the whole suite. To fix this, I had to change this predicate here, so it looks for the xml test report instead. I think this is also more consistent with verifyGradleOutputFiles().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tsegismont just in case you missed it... This PR is ready to be reviewed now. 🤞 😄

@oliver-brm oliver-brm requested a review from tsegismont December 3, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant