diff --git a/build.sbt b/build.sbt index 91b64129..64ea2e63 100644 --- a/build.sbt +++ b/build.sbt @@ -40,7 +40,7 @@ def groupByName(tests: Seq[TestDefinition]): Seq[Group] = { } lazy val root = project.in(file(".")) - .aggregate(coreJS, coreJVM, driver, docs, example) + .aggregate(coreJS, coreJVM, driver, docs) // example, generator .settings( publish := {}, publishLocal := {} diff --git a/example/src/main/scala/example/Person.scala b/example/src/main/scala/example/Person.scala index 51a35fbd..c36093b3 100644 --- a/example/src/main/scala/example/Person.scala +++ b/example/src/main/scala/example/Person.scala @@ -19,7 +19,10 @@ import fabric.rw._ // // Internal code //} -case class JustDoc(name: String) extends Foo with Document[JustDoc] +case class JustDoc(name: String) extends Foo with Document[JustDoc] { + // Custom method + def doSomething(): Unit = scribe.info("Testing!") +} //case class Correct(name: String, _id: Id[Correct] = Correct.id()) extends Document[Correct] //