<commit_before>import sbt._
import sbt.Keys._
import com.typesafe.sbt.SbtMultiJvm
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys

object Build extends sbt.Build {

  lazy val proj = Project(
    "spray-socketio",
    file("."),
    settings = commonSettings ++ SbtMultiJvm.multiJvmSettings ++ Seq(
      libraryDependencies ++= Dependencies.all,
      unmanagedSourceDirectories in Test += baseDirectory.value / "multi-jvm/scala",
      distTask) ++ multiJvmSettings) configs (MultiJvm)

  def commonSettings = Defaults.defaultSettings ++
    formatSettings ++
    Seq(
      organization := "com.wandoulabs.akka",
      version := "0.1.1-SNAPSHOT",
      scalaVersion := "2.10.3",
      scalacOptions ++= Seq("-unchecked", "-deprecation"),
      publishMavenStyle := true,
      resolvers ++= Seq(
        "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases",
        "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
        "Typesafe repo" at "http://repo.typesafe.com/typesafe/releases/",
        "spray" at "http://repo.spray.io",
        "spray nightly" at "http://nightlies.spray.io/"))
<commit_msg>Add publishTo config for sbt publish<commit_after>import sbt._
import sbt.Keys._
import com.typesafe.sbt.SbtMultiJvm
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys

object Build extends sbt.Build {

  lazy val proj = Project(
    "spray-socketio",
    file("."),
    settings = commonSettings ++ SbtMultiJvm.multiJvmSettings ++ Seq(
      libraryDependencies ++= Dependencies.all,
      unmanagedSourceDirectories in Test += baseDirectory.value / "multi-jvm/scala",
      distTask) ++ multiJvmSettings) configs (MultiJvm)

  def commonSettings = Defaults.defaultSettings ++
    formatSettings ++
    Seq(
      organization := "com.wandoulabs.akka",
      version := "0.1.1-SNAPSHOT",
      scalaVersion := "2.10.3",
      scalacOptions ++= Seq("-unchecked", "-deprecation"),
      resolvers ++= Seq(
        "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases",
        "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
        "Typesafe repo" at "http://repo.typesafe.com/typesafe/releases/",
        "spray" at "http://repo.spray.io",
        "spray nightly" at "http://nightlies.spray.io/"),
      publishTo := {
        val nexus = "https://oss.sonatype.org/"
        if (version.value.trim.endsWith("SNAPSHOT"))
          Some("snapshots" at nexus + "content/repositories/snapshots")
        else
          Some("releases"  at nexus + "service/local/staging/deploy/maven2")
      },
      publishMavenStyle := true,
      publishArtifact in Test := false,
      pomIncludeRepository := { (repo: MavenRepository) => false },
      pomExtra := (
        <url>https://github.com/wandoulabs/spray-socketio</url>
          <licenses>
            <license>
              <name>The Apache Software License, Version 2.0</name>
              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
              <distribution>repo</distribution>
            </license>
          </licenses>
          <scm>
            <url><EMAIL>:wandoulabs/spray-socketio.git</url>
            <connection>scm:git:<EMAIL>:wandoulabs/spray-socketio.git</connection>
          </scm>
          <developers>
            <developer>
              <id>dcaoyuan</id>
              <name><NAME></name>
              <email><EMAIL></email>
            </developer>
            <developer>
              <id>cowboy129</id>
              <name><NAME></name>
              <email><EMAIL></email>
            </developer>
          </developers>
        )
    )

{'fraction_non_alphanumeric': 0.13789554926678674, 'fraction_numerical': 0.005659891947517366, 'mean_word_length': 2.637043966323667, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 46, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, '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': '7617154', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1221, 'n_words': 210}