-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
28 lines (24 loc) · 1021 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This build is for this Giter8 template.
// To test the template run `g8` or `g8Test` from the sbt session.
// See http://www.foundweekends.org/giter8/testing.html#Using+the+Giter8Plugin for more details.
lazy val root = (project in file("."))
.enablePlugins(ScriptedPlugin)
.settings(
name := "mu-scala.g8",
Test / test := {
val _ = (Test / g8Test).toTask("").value
},
scriptedLaunchOpts ++= List("-Xms1024m", "-Xmx1024m", "-XX:ReservedCodeCacheSize=128m", "-Xss2m", "-Dfile.encoding=UTF-8"),
)
addCommandAlias("ci-test", "g8Test")
addCommandAlias("ci-docs", "github; documentation/mdoc")
// There is no release process for this project,
// so this is also a dummy command
addCommandAlias("ci-publish", "show scalaVersion")
ThisBuild / organization := "io.higherkindness"
ThisBuild / githubOrganization := "47degrees"
// Auto-update project documentation
lazy val documentation = project
.settings(mdocOut := file("."))
.settings(publish / skip := true)
.enablePlugins(MdocPlugin)