Permalink
Browse files

Switched to sbt-spiewak

  • Loading branch information...
djspiewak committed May 5, 2018
1 parent f18089e commit 35e6a3f7edfc8bc189418be93bb6c5893af4d665
Showing with 92 additions and 270 deletions.
  1. +1 −1 benchmarks/src/main/scala/parseback/benchmarks/ArithmeticBenchmark.scala
  2. +59 −0 build.sbt
  3. +1 −1 core/src/main/scala/parseback/Line.scala
  4. +1 −1 core/src/main/scala/parseback/LineStream.scala
  5. +1 −1 core/src/main/scala/parseback/MemoTable.scala
  6. +1 −1 core/src/main/scala/parseback/Nullable.scala
  7. +1 −1 core/src/main/scala/parseback/ParseError.scala
  8. +1 −1 core/src/main/scala/parseback/Results.scala
  9. +1 −1 core/src/main/scala/parseback/Whitespace.scala
  10. +1 −1 core/src/main/scala/parseback/ast/nodes.scala
  11. +1 −1 core/src/main/scala/parseback/ast/package.scala
  12. +1 −1 core/src/main/scala/parseback/ast/precedence.scala
  13. +1 −1 core/src/main/scala/parseback/package.scala
  14. +1 −1 core/src/main/scala/parseback/parsers.scala
  15. +1 −1 core/src/main/scala/parseback/render/RenderResult.scala
  16. +1 −1 core/src/main/scala/parseback/render/Renderer.scala
  17. +1 −1 core/src/main/scala/parseback/render/package.scala
  18. +1 −1 core/src/main/scala/parseback/util/Catenable.scala
  19. +1 −1 core/src/test/scala/parseback/ArithmeticSpec.scala
  20. +1 −1 core/src/test/scala/parseback/CompoundParserSpec.scala
  21. +1 −1 core/src/test/scala/parseback/EBNFSpec.scala
  22. +1 −1 core/src/test/scala/parseback/ErrorSpec.scala
  23. +1 −1 core/src/test/scala/parseback/LineSpec.scala
  24. +1 −1 core/src/test/scala/parseback/NullabilitySpec.scala
  25. +1 −1 core/src/test/scala/parseback/ParsebackSpec.scala
  26. +1 −1 core/src/test/scala/parseback/RegexSpec.scala
  27. +1 −1 core/src/test/scala/parseback/SimpleParserSpec.scala
  28. +1 −1 core/src/test/scala/parseback/ast/FilterSpecs.scala
  29. +1 −1 core/src/test/scala/parseback/util/CatenableSpec.scala
  30. +0 −228 project.sbt
  31. +4 −13 project/plugins.sbt
  32. +1 −1 project/project/plugins.sbt
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -0,0 +1,59 @@
/*
* Copyright 2017 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
baseVersion in ThisBuild := "0.4.0"
bintrayVcsUrl in ThisBuild := Some("git@github.com:djspiewak/parseback.git")
addCommandAlias("measure-all", "benchmarks/jmh:run -rff results.csv")
addCommandAlias("measure", "benchmarks/jmh:run -rff results.csv .*parsebackRun")
addCommandAlias("profile", "benchmarks/jmh:run -prof jmh.extras.JFR -f 1 .*parsebackRun")
lazy val root = project
.in(file("."))
.settings(name := "root")
.settings(noPublishSettings)
.aggregate(benchmarks, coreJVM, coreJS)
lazy val benchmarks = project
.in(file("benchmarks"))
.dependsOn(coreJVM)
.settings(name := "parseback-benchmarks")
.settings(
libraryDependencies ++= Seq(
"com.codecommit" %% "gll-combinators" % "2.3",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.5"),
sourceDirectory in Jmh := (sourceDirectory in Compile).value)
.settings(noPublishSettings)
.enablePlugins(JmhPlugin)
lazy val core = crossProject
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "parseback")
.settings(
libraryDependencies += "org.typelevel" %%% "cats-core" % "1.1.0",
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.13.4" % Test,
"org.specs2" %% "specs2-core" % Versions.Specs % Test,
"org.specs2" %% "specs2-scalacheck" % Versions.Specs % Test),
initialCommands := "import parseback._",
logBuffered in Test := false)
lazy val coreJS = core.js
lazy val coreJVM = core.jvm
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Daniel Spiewak
* Copyright 2018 Daniel Spiewak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Oops, something went wrong.

0 comments on commit 35e6a3f

Please sign in to comment.