Permalink
Browse files

Attempt #317 to fix formatting of readme.

  • Loading branch information...
jsuereth committed May 7, 2012
1 parent 81965d9 commit cd58697d68d65570328e57a1e7938b55663cd46a
Showing with 14 additions and 10 deletions.
  1. +14 −10 README.md
View
@@ -25,21 +25,25 @@ Although not released, you can still try it out. To do so:
1. Add the following to your `project/project/build.scala` file:
- import sbt._
- object PluginDef extends Build {
- override def projects = Seq(root)
- lazy val root = Project("plugins", file(".")) dependsOn(mima)
-
- lazy val mima = ProjectRef(file("/path/to/checkedout/mima"), "sbtplugin")
- }
+```
+import sbt._
+object PluginDef extends Build {
+ override def projects = Seq(root)
+ lazy val root = Project("plugins", file(".")) dependsOn(mima)
+ lazy val mima = ProjectRef(file("/path/to/checkedout/mima"), "sbtplugin")
+}
+```
2. Add the following to your `build.sbt` file:
- import ssol.tools.mima.plugin.MimaPlugin.{mimaDefaultSettings, previousArtifact}
+```
+import ssol.tools.mima.plugin.MimaPlugin.{mimaDefaultSettings, previousArtifact}
- mimaDefaultSettings
+mimaDefaultSettings
- previousArtifact := Some("com.jsuereth" % "scala-arm_2.9.1" % "1.2")
+previousArtifact := Some("com.jsuereth" % "scala-arm_2.9.1" % "1.2")
+```
+
But replacing the scala-arm example with your own artifact.

0 comments on commit cd58697

Please sign in to comment.