rename frontend -> backend

This commit is contained in:
Johannes Rudolph 2015-11-17 20:39:18 +01:00
parent a89e63f956
commit 932085bdf6
4 changed files with 8 additions and 7 deletions

View File

@ -16,7 +16,7 @@
package net.virtualvoid.sbt.graph
import net.virtualvoid.sbt.graph.frontend.SbtUpdateReport
import net.virtualvoid.sbt.graph.backend.{ IvyReport, SbtUpdateReport }
import sbt._
import Keys._
@ -100,7 +100,7 @@ object DependencyGraphSettings {
},
licenseInfo <<= (moduleGraph, streams) map showLicenseInfo))
def ivyReportGraph = ivyReport map (absoluteReportPath.andThen(frontend.IvyReport.fromReportFile))
def ivyReportGraph = ivyReport map (absoluteReportPath.andThen(IvyReport.fromReportFile))
def sbtUpdateReportGraph =
(ignoreMissingUpdate, crossProjectId, configuration) map { (update, root, config)
SbtUpdateReport.fromConfigurationReport(update.configuration(config.name).get, root)

View File

@ -18,6 +18,8 @@ package net.virtualvoid.sbt.graph
import java.io.File
import net.virtualvoid.sbt.graph.backend.IvyReport
object Main extends App {
def die(msg: String): Nothing = {
println(msg)
@ -28,6 +30,6 @@ object Main extends App {
val reportFile = args.lift(0).filter(f new File(f).exists).getOrElse(die(usage))
val outputFile = args.lift(1).getOrElse(die(usage))
val graph = frontend.IvyReport.fromReportFile(reportFile)
val graph = IvyReport.fromReportFile(reportFile)
rendering.GraphML.saveAsGraphML(graph, outputFile)
}

View File

@ -14,9 +14,8 @@
* limitations under the License.
*/
package net.virtualvoid.sbt.graph.frontend
import net.virtualvoid.sbt.graph._
package net.virtualvoid.sbt.graph
package backend
import scala.xml.{ NodeSeq, Document, Node }
import scala.xml.parsing.ConstructingParser

View File

@ -15,7 +15,7 @@
*/
package net.virtualvoid.sbt.graph
package frontend
package backend
import sbt._