Skip to content

Commit 0a93432

Browse files
Prepare repository for next release and SBT build improvements
1 parent c4dc859 commit 0a93432

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+67
-102
lines changed

AUTHORS.md

Lines changed: 0 additions & 1 deletion

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

LICENSE.md

Lines changed: 1 addition & 1 deletion

NOTICE.md

Lines changed: 1 addition & 1 deletion

build.sbt

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,36 @@
11
import com.jsuereth.sbtpgp.PgpKeys.publishSigned
22

3+
ThisBuild / organization := "org.scala-exercises"
4+
ThisBuild / githubOrganization := "47degrees"
5+
ThisBuild / scalaVersion := "2.13.2"
6+
7+
publish / skip := true
8+
9+
// This is required by the exercises compiler:
310
publishLocal := (publishLocal dependsOn compile).value
411
publishSigned := (publishSigned dependsOn compile).value
512

613
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; test")
7-
addCommandAlias("ci-docs", "github; project-docs/mdoc; headerCreateAll")
14+
addCommandAlias("ci-docs", "github; documentation/mdoc; headerCreateAll")
15+
addCommandAlias("ci-publish", "github; ci-release")
816

917
lazy val exercises = (project in file("."))
10-
.settings(moduleName := "exercises-fpinscala")
11-
.settings(exercisesSettings)
18+
.settings(name := "exercises-fpinscala")
19+
.settings(
20+
libraryDependencies ++= Seq(
21+
"org.scala-exercises" %% "exercise-compiler" % "0.6.1",
22+
"org.scala-exercises" %% "definitions" % "0.6.1",
23+
"org.typelevel" %% "cats-core" % "2.1.1",
24+
"com.chuusai" %% "shapeless" % "2.3.3",
25+
"org.scalatest" %% "scalatest" % "3.1.2",
26+
"org.scalacheck" %% "scalacheck" % "1.14.3",
27+
"org.scalatestplus" %% "scalacheck-1-14" % "3.1.2.0",
28+
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.5"
29+
)
30+
)
1231
.enablePlugins(ExerciseCompilerPlugin)
1332

14-
lazy val `project-docs` = (project in file(".docs"))
15-
.aggregate(exercises)
16-
.dependsOn(exercises)
17-
.settings(moduleName := "exercises-project-docs")
18-
.settings(mdocIn := file(".docs"))
33+
lazy val documentation = project
1934
.settings(mdocOut := file("."))
20-
.settings(skip in publish := true)
35+
.settings(publish / skip := true)
2136
.enablePlugins(MdocPlugin)

0 commit comments

Comments
 (0)