<commit_before>import sbt._
import Keys._
import Process._
import java.io.File



object ReactressBuild extends Build {

  val reactressSettings = Defaults.defaultSettings ++ Seq (
    organization := "org.reactress",
    scalaVersion := "2.10.2",
    libraryDependencies ++= Seq(
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
      "com.github.axel22" %% "scalameter" % "0.4" % "test",
      "com.netflix.rxjava" % "rxjava-scala" % "0.15.0" % "test"
    ),
    testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
  )

  lazy val reactress = Project(
    "reactress",
    file("."),
    settings = reactressSettings
  )<commit_msg>Update Build.scala<commit_after>import sbt._
import Keys._
import Process._
import java.io.File



object ReactressBuild extends Build {


  val publishUser = "SONATYPE_USER"
  
  val publishPass = "<PASSWORD>"
  
  val userPass = for {
    user <- sys.env.get(publishUser)
    pass <- sys.env.get(publishPass)
  } yield (user, pass)

  val publishCreds: Seq[Setting[_]] = Seq(userPass match {
    case Some((user, pass)) =>
      credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass)
    case None =>
      // prevent publishing
      publish <<= streams.map(_.log.info("Publishing to Sonatype is disabled since the \"" + publishUser + "\" and/or \"" + publishPass + "\" environment variables are not set."))
  })

  val reactressSettings = Defaults.defaultSettings ++ Seq (
    name := "reactress",
    version := "0.2-SNAPSHOT",
    organization := "org.reactress",
    scalaVersion := "2.10.2",
    libraryDependencies ++= Seq(
      "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
      "com.github.axel22" %% "scalameter" % "0.4" % "test",
      "com.netflix.rxjava" % "rxjava-scala" % "0.15.0" % "test"
    ),
    testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
    parallelExecution in Test := false,
    resolvers ++= Seq(
      "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
      "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases"
    ),
    publishMavenStyle := true,
    publishTo <<= version { (v: String) =>
      val nexus = "https://oss.sonatype.org/"
      if (v.trim.endsWith("SNAPSHOT"))
        Some("snapshots" at nexus + "content/repositories/snapshots")
      else
        Some("releases"  at nexus + "service/local/staging/deploy/maven2")
    },
    publishArtifact in Test := false,
    pomIncludeRepository := { _ => false },
    pomExtra :=
      <url>http://storm-enroute.com/</url>
      <licenses>
        <license>
          <name>BSD-style</name>
          <url>http://opensource.org/licenses/BSD-3-Clause</url>
          <distribution>repo</distribution>
        </license>
      </licenses>
      <scm>
        <url>git@github.com:storm-enroute/reactress.git</url>
        <connection>scm:git:git@github.com:storm-enroute/reactress.git</connection>
      </scm>
      <developers>
        <developer>
          <id>axel22</id>
          <name><NAME></name>
          <url>http://axel22.github.com/</url>
        </developer>
      </developers>
  )

  lazy val reactress = Project(
    "reactress",
    file("."),
    settings = reactressSettings
  )
{'fraction_non_alphanumeric': 0.1556632344033919, 'fraction_numerical': 0.013325257419745608, 'mean_word_length': 2.86768149882904, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 37, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7206286', 'n_tokens_mistral': 1148, 'n_tokens_neox': 1085, 'n_words': 209}