Skip to content

Commit

Permalink
Grace: change grails-app to app
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jan 10, 2024
1 parent c35264b commit 22eab01
Show file tree
Hide file tree
Showing 32 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion commands/bug-report.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ String zipName = "${buildDir}/${fileName}-bug-report-${date}.zip"

ant.zip(destfile: zipName, filesonly: true) {
fileset(dir: baseDir.canonicalPath) {
include name: 'grails-app/**'
include name: 'app/**'
include name: 'src/**'
include name: 'build.gradle'
}
Expand Down
2 changes: 1 addition & 1 deletion commands/create-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ description:
steps:
- command: render
template: templates/artifacts/Command.groovy
destination: grails-app/commands/@artifact.package.path@/@[email protected]
destination: app/commands/@artifact.package.path@/@[email protected]
convention: Command
2 changes: 1 addition & 1 deletion commands/create-domain-class.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description:
steps:
- command: render
template: templates/artifacts/DomainClass.groovy
destination: grails-app/domain/@artifact.package.path@/@[email protected]
destination: app/domain/@artifact.package.path@/@[email protected]
- command: render
template: templates/testing/DomainClass.groovy
destination: src/test/groovy/@artifact.package.path@/@[email protected]
14 changes: 7 additions & 7 deletions commands/stats.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ def DEFAULT_LOC_MATCHER = { file ->

// maps file path to
def pathToInfo = [
[name: "Controllers", path: "^grails-app.controllers", filetype: ["Controller.groovy"]],
[name: "URL Mappings", path: "^grails-app.controllers", filetype: ["UrlMappings.groovy"]],
[name: "Interceptors", path: "^grails-app.controllers", filetype: ["Interceptor.groovy"]],
[name: "Domain Classes", path: "^grails-app.domain", filetype: [".groovy"]],
[name: "Jobs", path: "^grails-app.job", filetype: [".groovy"]],
[name: "Services", path: "^grails-app.services", filetype: ["Service.groovy"]],
[name: "Tag Libraries", path: "^grails-app.taglib", filetype: ["TagLib.groovy"]],
[name: "Controllers", path: "^app.controllers", filetype: ["Controller.groovy"]],
[name: "URL Mappings", path: "^app.controllers", filetype: ["UrlMappings.groovy"]],
[name: "Interceptors", path: "^app.controllers", filetype: ["Interceptor.groovy"]],
[name: "Domain Classes", path: "^app.domain", filetype: [".groovy"]],
[name: "Jobs", path: "^app.job", filetype: [".groovy"]],
[name: "Services", path: "^app.services", filetype: ["Service.groovy"]],
[name: "Tag Libraries", path: "^app.taglib", filetype: ["TagLib.groovy"]],
[name: "Helpers", path: "^src.main.groovy", filetype: [".groovy", ".java"]],
[name: "Unit Tests", path: "^src.test.groovy", filetype: [".groovy", ".java"]],
[name: "Integration Tests", path: "^src.integration-test.groovy", filetype: [".groovy", ".java"]],
Expand Down
2 changes: 1 addition & 1 deletion commands/test-app.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runTests = { List args ->
if(flag('continuous')) {
def watcher = new DirectoryWatcher()
def ext = ['groovy', 'java']
watcher.addWatchDirectory( file("grails-app"), ext)
watcher.addWatchDirectory( file("app"), ext)
watcher.addWatchDirectory( file("src/main/groovy"), ext)
watcher.addWatchDirectory( file("src/test/groovy"), ext)
watcher.addWatchDirectory( file("src/integration-test/groovy"), ext)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 22eab01

Please sign in to comment.