Skip to content

Commit

Permalink
Merge 014ebd2 into 8485b1f
Browse files Browse the repository at this point in the history
  • Loading branch information
nightscape committed Sep 17, 2018
2 parents 8485b1f + 014ebd2 commit 17a6b60
Show file tree
Hide file tree
Showing 99 changed files with 9,108 additions and 4,080 deletions.
10 changes: 10 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
style = default
maxColumn = 120
continuationIndent.defnSite = 2
continuationIndent.callSite = 2
align=none
danglingParentheses = true
optIn.configStyleArguments = false
docstrings = ScalaDoc
spaces.beforeContextBoundColon = true
rewrite.rules = [SortImports]
24 changes: 9 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ licenses := Seq("Apache License, ASL Version 2.0" → url("http://www.apache.org
scalaVersion := "2.12.6"
crossScalaVersions := Seq("2.11.11", "2.12.6")

scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Xlint:-missing-interpolator,-unused,_")
scalacOptions ++= Seq("-deprecation", "-feature", "-Xlint:-missing-interpolator,-unused,_")

scalacOptions ++= {
if (scalaVersion.value startsWith "2.12")
Expand All @@ -26,19 +23,14 @@ testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oF")
libraryDependencies ++= Seq(
// AST Parser
"org.parboiled" %% "parboiled" % "2.1.4",

// AST Visitor
"org.sangria-graphql" %% "macro-visit" % "0.1.1",

// Marshalling
"org.sangria-graphql" %% "sangria-marshalling-api" % "1.0.3",

// Streaming
"org.sangria-graphql" %% "sangria-streaming-api" % "1.0.0",

// Macros
"org.scala-lang" % "scala-reflect" % scalaVersion.value,

// Testing
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"org.sangria-graphql" %% "sangria-marshalling-testkit" % "1.0.1" % Test,
Expand All @@ -48,7 +40,6 @@ libraryDependencies ++= Seq(
"org.sangria-graphql" %% "sangria-monix" % "1.0.0" % Test,
"org.sangria-graphql" %% "sangria-rxscala" % "1.0.0" % Test,
"eu.timepit" %% "refined" % "0.9.2" % Test,

// CATs
"net.jcazevedo" %% "moultingyaml" % "0.4.0" % Test,
"io.github.classgraph" % "classgraph" % "4.0.6" % Test
Expand All @@ -63,15 +54,18 @@ publishTo := Some(
if (isSnapshot.value)
"snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
"releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)

startYear := Some(2015)
organizationHomepage := Some(url("https://github.com/sangria-graphql"))
developers := Developer("OlegIlyenko", "Oleg Ilyenko", "", url("https://github.com/OlegIlyenko")) :: Nil
scmInfo := Some(ScmInfo(
browseUrl = url("https://github.com/sangria-graphql/sangria.git"),
connection = "scm:git:git@github.com:sangria-graphql/sangria.git"
))
scmInfo := Some(
ScmInfo(
browseUrl = url("https://github.com/sangria-graphql/sangria.git"),
connection = "scm:git:git@github.com:sangria-graphql/sangria.git"
)
)

// nice *magenta* prompt!

Expand Down
1 change: 1 addition & 0 deletions project/scalafmt.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1")
Loading

0 comments on commit 17a6b60

Please sign in to comment.