Skip to content

Commit

Permalink
Merge pull request #21 from Kevin-Lee/prepare-to-release
Browse files Browse the repository at this point in the history
extras v0.1.0
  • Loading branch information
kevin-lee committed Aug 24, 2021
2 parents 4cb1f87 + e48fc92 commit a0a8784
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
27 changes: 26 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
ThisBuild / scalaVersion := props.ProjectScalaVersion
ThisBuild / organization := props.Org
ThisBuild / organizationName := "Kevin's Code"
ThisBuild / crossScalaVersions := props.CrossScalaVersions

ThisBuild / testFrameworks ~=
(frameworks => (TestFramework("hedgehog.sbt.Framework") +: frameworks).distinct)

ThisBuild / developers := List(
Developer(
props.GitHubUser,
"Kevin Lee",
"[email protected]",
url(s"https://github.com/${props.GitHubUser}"),
)
)

ThisBuild / homepage := Some(url(s"https://github.com/${props.GitHubUser}/${props.RepoName}"))
ThisBuild / scmInfo :=
Some(
ScmInfo(
url(s"https://github.com/${props.GitHubUser}/${props.RepoName}"),
s"[email protected]:${props.GitHubUser}/${props.RepoName}.git",
)
)

ThisBuild / licenses := props.licenses

lazy val extras = (project in file("."))
.enablePlugins(DevOopsGitHubReleasePlugin)
.settings(
name := props.RepoName,
libraryDependencies := removeScala3Incompatible(scalaVersion.value, libraryDependencies.value),
Expand All @@ -24,7 +47,7 @@ lazy val extrasConcurrentTesting = subProject("concurrent-testing")
)
.dependsOn(extrasConcurrent)

lazy val extrasCats = subProject("cats")
lazy val extrasCats = subProject("cats")
.settings(
libraryDependencies ++= (if (scalaVersion.value.startsWith("3")) {
List(libs.catsLatest, libs.catsEffectLatest % Test)
Expand Down Expand Up @@ -64,6 +87,8 @@ lazy val props = new {
final val GitHubUser = "Kevin-Lee"
final val RepoName = "extras"

final val licenses = List("MIT" -> url("http://opensource.org/licenses/MIT"))

final val Scala2Versions = List(
"2.13.5",
"2.12.13",
Expand Down
9 changes: 9 additions & 0 deletions changelogs/0.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## [0.1.0](https://github.com/Kevin-Lee/extras/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+milestone%3Amilestone1) - 2021-08-24

## Done
* Add additional syntax for `EitherT` to `extras-cats` (#8)
* Add additional syntax for `OptionT` to `extras-cats` (#14)
* Add `all` syntax to `extras-cats` (#19)
* Set up GitHub Actions build and release (#4)
* Change project structure (#9)
* Tools for Java and Scala concurrent (#11)

0 comments on commit a0a8784

Please sign in to comment.