Skip to content

Commit

Permalink
Rename recipes with the .alpha1 suffix so that they are applied early
Browse files Browse the repository at this point in the history
Hopefully, this will serve as a good example for future recipes.
  • Loading branch information
gsmet committed Jan 28, 2025
1 parent 8a7cf6f commit 8e16540
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class CoreUpdate30Test implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.0.yaml"))
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.0.alpha1.yaml"))
.parser(JavaParser.fromJavaVersion().logCompilationWarningsAndErrors(true))
.typeValidationOptions(TypeValidation.none());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class CoreUpdate318Test implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.18.yaml"), "3.18.0")
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.18.alpha1.yaml"), "3.18.0")
.parser(JavaParser.fromJavaVersion().logCompilationWarningsAndErrors(true))
.typeValidationOptions(TypeValidation.none());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class CoreUpdate33Test implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.3.yaml"))
CoreTestUtil.recipe(spec, Path.of("quarkus-updates", "core", "3.3.alpha1.yaml"))
.parser(JavaParser.fromJavaVersion().logCompilationWarningsAndErrors(true))
.typeValidationOptions(TypeValidation.none());
}
Expand Down

0 comments on commit 8e16540

Please sign in to comment.