From 705533161166367783ecbacc502e5417fbd2ec40 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Sun, 5 Nov 2023 22:41:57 +0100 Subject: [PATCH] Make README.md command runnable from IDE --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e2e869..89b6fa0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,11 @@ available in the OpenRewrite docs that provides more details than the below READ ## Local Publishing for Testing Before you publish your recipe module to an artifact repository, you may want to try it out locally. -To do this on the command line, run `./gradlew publishToMavenLocal` (or equivalently `./gradlew pTML`). +To do this on the command line, run: +```bash +./gradlew publishToMavenLocal +# or ./gradlew pTML +``` This will publish to your local maven repository, typically under `~/.m2/repository`. Replace the groupId, artifactId, recipe name, and version in the below snippets with the ones that correspond to your recipe.