-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare repository for next release and SBT build improvements (#200)
- Loading branch information
1 parent
c898492
commit 184c233
Showing
89 changed files
with
843 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version=2.4.2 | ||
version=2.6.0 | ||
style = defaultWithAlign | ||
maxColumn = 100 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
import com.jsuereth.sbtpgp.PgpKeys.publishSigned | ||
|
||
ThisBuild / organization := "org.scala-exercises" | ||
ThisBuild / githubOrganization := "47degrees" | ||
ThisBuild / scalaVersion := "2.13.2" | ||
|
||
publish / skip := true | ||
|
||
// This is required by the exercises compiler: | ||
publishLocal := (publishLocal dependsOn compile).value | ||
publishSigned := (publishSigned dependsOn compile).value | ||
|
||
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; test") | ||
addCommandAlias("ci-docs", "github; project-docs/mdoc; headerCreateAll") | ||
addCommandAlias("ci-docs", "github; documentation/mdoc; headerCreateAll") | ||
addCommandAlias("ci-publish", "github; ci-release") | ||
|
||
lazy val exercises = (project in file(".")) | ||
.settings(moduleName := "exercises-stdlib") | ||
.settings(exercisesSettings) | ||
.settings(name := "exercises-stdlib") | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
"org.scala-exercises" %% "exercise-compiler" % "0.6.1", | ||
"org.scala-exercises" %% "definitions" % "0.6.1", | ||
"com.chuusai" %% "shapeless" % "2.3.3", | ||
"org.scalatest" %% "scalatest" % "3.1.2", | ||
"org.scalacheck" %% "scalacheck" % "1.14.3", | ||
"org.scalatestplus" %% "scalacheck-1-14" % "3.1.2.0", | ||
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.5" | ||
) | ||
) | ||
.enablePlugins(ExerciseCompilerPlugin) | ||
|
||
lazy val `project-docs` = (project in file(".docs")) | ||
.aggregate(exercises) | ||
.settings(moduleName := "exercises-project-docs") | ||
.settings(mdocIn := file(".docs")) | ||
lazy val documentation = project | ||
.settings(mdocOut := file(".")) | ||
.settings(skip in publish := true) | ||
.settings(publish / skip := true) | ||
.enablePlugins(MdocPlugin) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.3.11 | ||
sbt.version=1.3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.0") | ||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3") | ||
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") | ||
addSbtPlugin("com.alejandrohdezma" %% "sbt-github" % "0.8.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.8.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.8.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-mdoc-toc" % "0.2") | ||
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.1") | ||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3") | ||
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-github" % "0.8.2") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.8.2") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.8.2") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-remove-test-from-pom" % "0.1.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.