Skip to content
Browse files

Generate index.html from dependency-report command.

  • Loading branch information...
1 parent 9fa6613 commit 76a98337b34f19497b2aa9686c266a16888829cc @pledbrook pledbrook committed Oct 9, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/DependencyReport.groovy
View
6 scripts/DependencyReport.groovy
@@ -45,7 +45,11 @@ target(dependencyReport:"Produces a dependency report for the current Grails app
def conf = args.trim() ?: 'build, compile, provided, runtime, test'
ivy.report(organisation: 'org.grails.internal', module: grailsAppName, todir: targetDir, conf: conf)
- grailsConsole.addStatus "Dependency report output to [$targetDir]"
+ // Copy the runtime dependency report to 'index.html' for easy opening.
+ ant.copy file: "${targetDir}/org.grails.internal-${grailsAppName}-runtime.html",
+ tofile: "${targetDir}/index.html"
+
+ grailsConsole.addStatus "Dependency report output to [${targetDir}/index.html]"
}
setDefaultTarget(dependencyReport)

0 comments on commit 76a9833

Please sign in to comment.
Something went wrong with that request. Please try again.