view scripts/hgall.groovy @ 298:95d4eb5bff0f

remove code that was removing the ssdt_ohio dir in maven local. add publish local task if the project is a local repo and publish ivy is available.
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 22 Dec 2022 14:39:22 -0500
parents f351338a3b3a
children
line wrap: on
line source

cmd = args ? args.join(' ') : 'out'

new File(".").eachDirRecurse { d ->

   if  ( new File(d,".hg").exists() ) {   
     println "$d.absolutePath: $cmd \n-----------------------------------"      
     println  "hg -R ${d.absolutePath} ${cmd}".execute().text
      
  }
}