<commit_before>name := "ng-test"

organization := "net.liftmodules"

version := "0.5.0"

liftVersion <<= liftVersion ?? "2.6-RC1"

liftEdition <<= liftVersion { _.substring(0,3) }

resolvers ++= Seq(
  "staging"   at "https://oss.sonatype.org/service/local/staging/deploy/maven2",
  "snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
  "releases"  at "http://oss.sonatype.org/content/repositories/releases"
)

seq(webSettings :_*)

unmanagedResourceDirectories in Test <+= (baseDirectory) { _ / "src/main/webapp" }

scalaVersion := "2.10.4"

scalacOptions ++= Seq("-deprecation", "-unchecked")


libraryDependencies <++= (liftVersion, version) { (lift, liftng) =>
  val liftEdition = lift.substring(0,3)
  Seq(
    "net.liftweb"             %%  "lift-webkit"                       % lift                  % "compile",
    "net.liftmodules"         %%  ("lift-jquery-module_"+liftEdition) % "2.6"                 % "compile",
    "net.liftmodules"         %%  ("ng_"+liftEdition)                 % liftng                % "compile", // https://github.com/joescii/lift-ng
    "net.liftmodules"         %%  ("ng-js_"+liftEdition)              % "0.1_1.2.22"          % "compile", // https://github.com/joescii/lift-ng-js
    "org.eclipse.jetty"       %   "jetty-webapp"                      % "8.1.7.v20120910"     % "container,test",
    "org.eclipse.jetty.orbit" %   "javax.servlet"                     % "3.0.0.v201112011016" % "container,test" artifacts Artifact("javax.servlet", "jar", "jar"),
    "ch.qos.logback"          %   "logback-classic"                   % "1.0.6"               % "compile",
    "org.scalatest"           %%  "scalatest"                         % "2.0"                 % "test->*",
    "org.seleniumhq.selenium" %   "selenium-java"                     % "2.39.0"              % "test"
  )
}

(Keys.test in Test) <<= (Keys.test in Test) dependsOn (start in container.Configuration)

(Keys.testOnly in Test) <<= (Keys.testOnly in Test) dependsOn (start in container.Configuration)

parallelExecution in Test := false<commit_msg>Updated test project to run against Lift 2.6/Scala 2.11<commit_after>name := "ng-test"

organization := "net.liftmodules"

version := "0.5.0"

liftVersion <<= liftVersion ?? "2.6-RC1"

liftEdition <<= liftVersion { _.substring(0,3) }

resolvers ++= Seq(
  "staging"   at "https://oss.sonatype.org/service/local/staging/deploy/maven2",
  "snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
  "releases"  at "http://oss.sonatype.org/content/repositories/releases"
)

seq(webSettings :_*)

unmanagedResourceDirectories in Test <+= (baseDirectory) { _ / "src/main/webapp" }

scalaVersion := "2.11.2"

scalacOptions ++= Seq("-deprecation", "-unchecked")


libraryDependencies <++= (liftVersion, version) { (lift, liftng) =>
  val liftEdition = lift.substring(0,3)
  Seq(
    "net.liftweb"             %%  "lift-webkit"                       % lift                  % "compile",
    "net.liftmodules"         %%  ("lift-jquery-module_"+liftEdition) % "2.8"                 % "compile",
    "net.liftmodules"         %%  ("ng_"+liftEdition)                 % liftng                % "compile", // https://github.com/joescii/lift-ng
    "net.liftmodules"         %%  ("ng-js_"+liftEdition)              % "0.1_1.2.22"          % "compile", // https://github.com/joescii/lift-ng-js
    "org.eclipse.jetty"       %   "jetty-webapp"                      % "8.1.7.v20120910"     % "container,test",
    "org.eclipse.jetty.orbit" %   "javax.servlet"                     % "3.0.0.v201112011016" % "container,test" artifacts Artifact("javax.servlet", "jar", "jar"),
    "ch.qos.logback"          %   "logback-classic"                   % "1.0.6"               % "compile",
    "org.scalatest"           %%  "scalatest"                         % "2.2.1"               % "test->*",
    "org.seleniumhq.selenium" %   "selenium-java"                     % "2.39.0"              % "test"
  )
}

(Keys.test in Test) <<= (Keys.test in Test) dependsOn (start in container.Configuration)

(Keys.testOnly in Test) <<= (Keys.testOnly in Test) dependsOn (start in container.Configuration)

parallelExecution in Test := false
{'fraction_non_alphanumeric': 0.1688125894134478, 'fraction_numerical': 0.029089175011921792, 'mean_word_length': 2.1470367591897976, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2228653', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1400, 'n_words': 225}