Skip to content

Commit

Permalink
add rule to remove form ui test assets if not a forms project (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
godanny86 authored Feb 15, 2022
1 parent 12556c0 commit 6e2d232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/META-INF/archetype-post-generate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ if (includeForms == "n" && includeFormsenrollment == "n" && includeFormscommunic
assert new File("$uiTestPackage/test-module/specs/aem/forms.js").delete()
assert new File("$uiTestPackage/test-module/lib/util").deleteDir()
assert new File("$uiTestPackage/test-module/rules").deleteDir()
assert new File("$uiTestPackage/test-module/assets/form").deleteDir()
assert new File("$appsFolder/clientlibs/clientlibs-forms").deleteDir()
} else {
if (aemVersion == "cloud") {
Expand Down

0 comments on commit 6e2d232

Please sign in to comment.