This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch ISIS-3078
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/ISIS-3078 by this push:
     new cfa510e1c1 ISIS-3078: polishes a little
cfa510e1c1 is described below

commit cfa510e1c1bce7708761906a7841aade9c5c496c
Author: Dan Haywood <[email protected]>
AuthorDate: Mon Jun 20 14:30:10 2022 +0100

    ISIS-3078: polishes a little
---
 scripts/rename/src/{Main.groovy => Rename.groovy} | 36 ++++++++++++++---------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/scripts/rename/src/Main.groovy b/scripts/rename/src/Rename.groovy
similarity index 91%
rename from scripts/rename/src/Main.groovy
rename to scripts/rename/src/Rename.groovy
index e2a67c7ec5..cc93b08a36 100644
--- a/scripts/rename/src/Main.groovy
+++ b/scripts/rename/src/Rename.groovy
@@ -1,19 +1,28 @@
 /**
- * This doesn't rewrite the contents of the following (binary) extensions:
- *
- * .jar
- * .zip
+ * Renames project from 'isis' to '...'
  *
- * .pptx
- * .docx
- * .xlsx
+ * usage:
+ * <pre>
+ *    pushd scripts/rename/src
+ *    groovy Rename.groovy
+ *    popd
+ * </pre>
  *
- * .odt
- * .rtf
- * .pdf
+ * <p>
+ * This doesn't rewrite the contents of the following (binary) extensions:
  *
+ * <ul>
+ *     <li>.jar
+ *     <li> .zip
+ *     <li> .pptx
+ *     <li> .docx
+ *     <li> .xlsx
+ *     <li> .odt
+ *     <li> .rtf
+ *     <li> .pdf
+ * </ul>
  */
-class RenameAndRewrite {
+class Rename {
 
   // root of the repo
   static final ROOT_DIR = "../../.."
@@ -165,12 +174,11 @@ class RenameAndRewrite {
 
 }
 
-
-
 static void main(String[] args) {
-  def rr = new RenameAndRewrite()
+  def rr = new Rename()
 
   rr.renameAllFiles()
   rr.rewriteAllFileContents()
 }
 
+

Reply via email to