mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-01-15 09:29:51 +00:00
fmt
This commit is contained in:
parent
09b0723787
commit
851b4ee99c
@ -8,11 +8,13 @@ object ProjectPlugin extends AutoPlugin {
|
||||
scalaVersion := "2.13.3"
|
||||
)
|
||||
|
||||
override lazy val globalSettings =
|
||||
addCommandAlias("fmt", List("", "scalafmtSbt", "compile:scalafmt", "test:scalafmt").mkString(";"))
|
||||
|
||||
object autoImport {
|
||||
implicit class ProjectOps(p: Project) {
|
||||
def withCats: Project =
|
||||
p
|
||||
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.2.0-RC2")
|
||||
p.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.2.0-RC2")
|
||||
|
||||
def withTesting: Project =
|
||||
p.settings(libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.1" % "test")
|
||||
@ -20,7 +22,8 @@ object ProjectPlugin extends AutoPlugin {
|
||||
def withTestingBeta: Project =
|
||||
p.settings(
|
||||
libraryDependencies += "com.disneystreaming" %% "weaver-framework" % "0.4.2" % Test,
|
||||
testFrameworks += new TestFramework("weaver.framework.TestFramework"))
|
||||
testFrameworks += new TestFramework("weaver.framework.TestFramework")
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")
|
||||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.13")
|
||||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")
|
||||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.13")
|
||||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
|
||||
|
@ -141,7 +141,6 @@ class AssemblyContext {
|
||||
}
|
||||
|
||||
def triplets: List[(String, Option[String], Option[String])] =
|
||||
xs
|
||||
.map(_.toTriplet)
|
||||
xs.map(_.toTriplet)
|
||||
.toList
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user