<commit_before>/* sbt -- Simple Build Tool
 * Copyright 2008, 2009  <NAME>
 */
import sbt._

import java.io.File

class SbtProject(info: ProjectInfo) extends DefaultProject(info) //with test.SbtScripted
{
	/* Additional resources to include in the produced jar.*/
	def extraResources = descendents(info.projectPath / "licenses", "*") +++ "LICENSE" +++ "NOTICE"
	override def mainResources = super.mainResources +++ extraResources

	override def testOptions = ExcludeTests("sbt.ReflectiveSpecification" :: Nil) :: super.testOptions.toList
	override def normalizedName = "sbt"
	//override def scriptedDependencies = testCompile :: `package` :: Nil

	/* For Scala 2.8.0 nightlies, use a special resolver so that we can refer to a specific nightly and not just 2.8.0-SNAPSHOT*/
	def specificSnapshotRepo =
		Resolver.url("scala-nightly") artifacts("http://scala-tools.org/repo-snapshots/[organization]/[module]/2.8.0-SNAPSHOT/[artifact]-[revision].[ext]") mavenStyle()
	val nightlyScala = ModuleConfiguration("org.scala-lang", "*", "2.8.0-.*", specificSnapshotRepo)

	override def compileOptions = Nil

	def scalaVersionString = ScalaVersion.current.getOrElse(scalaVersion.value)
	override def mainSources =
	{
		if(scalaVersionString == Version2_8_0)
				Path.lazyPathFinder( super.mainSources.get.filter( !_.asFile.getName.endsWith("TestFrameworkImpl.scala") ))<commit_msg>Add test repository to publish to.<commit_after>/* sbt -- Simple Build Tool
 * Copyright 2008, 2009  <NAME>
 */
import sbt._

import java.io.File

class SbtProject(info: ProjectInfo) extends DefaultProject(info) //with test.SbtScripted
{
	/* Additional resources to include in the produced jar.*/
	def extraResources = descendents(info.projectPath / "licenses", "*") +++ "LICENSE" +++ "NOTICE"
	override def mainResources = super.mainResources +++ extraResources

	override def testOptions = ExcludeTests("sbt.ReflectiveSpecification" :: Nil) :: super.testOptions.toList
	override def normalizedName = "sbt"
	//override def scriptedDependencies = testCompile :: `package` :: Nil

	/* For Scala 2.8.0 nightlies, use a special resolver so that we can refer to a specific nightly and not just 2.8.0-SNAPSHOT*/
	def specificSnapshotRepo =
		Resolver.url("scala-nightly") artifacts("http://scala-tools.org/repo-snapshots/[organization]/[module]/2.8.0-SNAPSHOT/[artifact]-[revision].[ext]") mavenStyle()
	val nightlyScala = ModuleConfiguration("org.scala-lang", "*", "2.8.0-.*", specificSnapshotRepo)

	override def managedStyle = ManagedStyle.Ivy
	val publishTo = Resolver.file("test-repo", (Path.userHome / ".ivy2" / "test").asFile)

	override def compileOptions = Nil

	def scalaVersionString = ScalaVersion.current.getOrElse(scalaVersion.value)
	override def mainSources =
	{
		if(scalaVersionString == Version2_8_0)
				Path.lazyPathFinder( super.mainSources.get.filter( !_.asFile.getName.endsWith("TestFrameworkImpl.scala") ))
{'fraction_non_alphanumeric': 0.13117017604418363, 'fraction_numerical': 0.016223679668622714, 'mean_word_length': 5.113924050632911, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5300218', 'n_tokens_mistral': 957, 'n_tokens_neox': 887, 'n_words': 217}