0

When grails stats is executed it gives statistics of sources as per grails default convention. How can I customize stats to add some of my custom classes under src directory.

Moon
  • 2,837
  • 1
  • 20
  • 34

1 Answers1

0
  1. grails create-script mystats, this will create file mystats.groovy under src/main/scripts folder
  2. look at https://github.com/grails/grails-profile-repository/blob/master/profiles/base/commands/stats.groovy - original stats script code
  3. put it into mystats.groovy and customize pathToInfo
  4. run grails mystats
Evgeny Smirnov
  • 2,886
  • 1
  • 12
  • 22