Skip to content

Commit

Permalink
Don't add Lib suffix for lib project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Dec 26, 2024
1 parent a7efd01 commit b27cc78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/main/java/rife/bld/operations/CreateLibOperation.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ protected Project createProjectBlueprint() {
return new LibProjectBlueprint(new File(workDirectory(), projectName()), packageName(), projectName(), baseName());
}

protected String projectMainClassName(String projectClassName) {
return projectClassName + "Lib";
}

protected boolean createIdeaRunMain() {
return false;
}
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/rife/bld/operations/TestCreateLibOperation.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void testExecute()
/my-app/src/main/java
/my-app/src/main/java/com
/my-app/src/main/java/com/example
/my-app/src/main/java/com/example/MyAppLib\\.java
/my-app/src/main/java/com/example/MyApp\\.java
/my-app/src/main/resources
/my-app/src/main/resources/templates
/my-app/src/test
Expand Down Expand Up @@ -161,7 +161,7 @@ void testExecute()
/my-app/build/main
/my-app/build/main/com
/my-app/build/main/com/example
/my-app/build/main/com/example/MyAppLib\\.class
/my-app/build/main/com/example/MyApp\\.class
/my-app/build/test
/my-app/build/test/com
/my-app/build/test/com/example
Expand Down Expand Up @@ -207,7 +207,7 @@ void testExecute()
/my-app/src/main/java
/my-app/src/main/java/com
/my-app/src/main/java/com/example
/my-app/src/main/java/com/example/MyAppLib\\.java
/my-app/src/main/java/com/example/MyApp\\.java
/my-app/src/main/resources
/my-app/src/main/resources/templates
/my-app/src/test
Expand Down

0 comments on commit b27cc78

Please sign in to comment.