Skip to content

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 reactiverse/vertx-lang-scala#106
Closes reactiverse/vertx-lang-scala#105
Closes #118

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

Development

Successfully merging this pull request may close these issues.

Add Gradle quickstart for start.vertx.io Add Maven quickstart to start.vertx.io Support generating a Scala project

1 participant