Skip to content

Commit 3e3b369

Browse files
Prepare repository for next release and SBT build improvements (#36)
* Prepare repository for next release and SBT build improvements * Bumps scalafmt
1 parent e34c67b commit 3e3b369

25 files changed

+79
-111
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=2.4.2
1+
version=2.6.0
22
style = defaultWithAlign
33
maxColumn = 100
44

AUTHORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ These are the people that have contributed to the _exercises-monocle_ project:
2727
- [![AdrianRaFo](https://avatars0.githubusercontent.com/u/15971742?v=4&s=20) **AdrianRaFo**](https://github.com/AdrianRaFo)
2828
- [![juanpedromoreno](https://avatars2.githubusercontent.com/u/4879373?v=4&s=20) **juanpedromoreno**](https://github.com/juanpedromoreno)
2929
- [![kiroco12](https://avatars1.githubusercontent.com/u/48894338?v=4&s=20) **kiroco12**](https://github.com/kiroco12)
30-
- [![valydia](https://avatars1.githubusercontent.com/u/2129101?v=4&s=20) **valydia**](https://github.com/valydia)
3130
- [![47erbot](https://avatars1.githubusercontent.com/u/24799081?v=4&s=20) **47erbot**](https://github.com/47erbot)
31+
- [![valydia](https://avatars1.githubusercontent.com/u/2129101?v=4&s=20) **valydia**](https://github.com/valydia)
3232
- [![dominv](https://avatars1.githubusercontent.com/u/3943031?v=4&s=20) **dominv**](https://github.com/dominv)
3333
- [![angoglez](https://avatars0.githubusercontent.com/u/10107285?v=4&s=20) **angoglez**](https://github.com/angoglez)
3434
- [![BenFradet](https://avatars2.githubusercontent.com/u/1737211?v=4&s=20) **BenFradet**](https://github.com/BenFradet)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ the code. Pull requests are also welcome.
1111

1212
People are expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md) when discussing _exercises-monocle_ on the Github page or other venues.
1313

14-
If you are being harassed, please contact one of [us](AUTHORS.md#maintainers) immediately so that we can support you. In case you cannot get in touch with us please write an email to [47 Degrees](mailto:scala-exercises@47deg.com).
14+
If you are being harassed, please contact one of [us](AUTHORS.md#maintainers) immediately so that we can support you. In case you cannot get in touch with us please write an email to [47 Degrees Open Source](mailto:hello@47deg.com).
1515

1616
## How can I help?
1717

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright (C) 2017-2020 47 Degrees <https://47deg.com>
189+
Copyright (C) 2017-2020 47 Degrees Open Source <https://www.47deg.com>
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

NOTICE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
exercises-monocle
66

7-
Copyright (c) 2017-2020 47 Degrees. All rights reserved.
7+
Copyright (c) 2017-2020 47 Degrees Open Source. All rights reserved.
88

99
Licensed under Apache-2.0. See [LICENSE](LICENSE.md) for terms.

build.sbt

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
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-monocle")
11-
.settings(exercisesSettings)
18+
.settings(name := "exercises-monocle")
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" %% "alleycats-core" % "2.1.1",
24+
"org.typelevel" %% "cats-core" % "2.1.1",
25+
"com.github.julien-truffaut" %% "monocle-core" % "2.0.5",
26+
"com.github.julien-truffaut" %% "monocle-macro" % "2.0.5",
27+
"com.chuusai" %% "shapeless" % "2.3.3",
28+
"org.scalatest" %% "scalatest" % "3.1.2",
29+
"org.scalacheck" %% "scalacheck" % "1.14.3",
30+
"org.scalatestplus" %% "scalacheck-1-14" % "3.1.2.0",
31+
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.5"
32+
),
33+
scalacOptions += "-Ymacro-annotations",
34+
addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.11.0" cross CrossVersion.full)
35+
)
1236
.enablePlugins(ExerciseCompilerPlugin)
1337

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"))
38+
lazy val documentation = project
1939
.settings(mdocOut := file("."))
20-
.settings(skip in publish := true)
40+
.settings(publish / skip := true)
2141
.enablePlugins(MdocPlugin)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)