Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
fixup! fixup! fixup! finalized and published the user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
etorreborre committed Nov 13, 2017
1 parent fea71c2 commit 65bb55f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .codacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
exclude_paths:
- guide/**
7 changes: 1 addition & 6 deletions guide/src/test/scala/org/zalando/grafter/UserGuidePage.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.zalando.grafter

import org.specs2.Specification
import org.specs2.main.Arguments
import org.specs2.specification.Snippets
import org.specs2.specification.core.SpecStructure

import scala.io.Source

Expand All @@ -12,10 +10,7 @@ import scala.io.Source
*/
abstract class UserGuidePage extends Specification with Snippets {

override def map(structure: SpecStructure) =
super.map(structure.setArguments(Arguments("html.nostats")).map(_.compact))


def version: String =
Source.fromFile("../version.sbt").getLines.toList.head.trim.split(" ").last.replace("\"", "")

}

0 comments on commit 65bb55f

Please sign in to comment.