Skip to content

Commit ceef4f1

Browse files
Compile when Publish (#173)
1 parent 2ae7434 commit ceef4f1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.sbt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import com.jsuereth.sbtpgp.PgpKeys.publishSigned
2+
3+
publishLocal := (publishLocal dependsOn compile).value
4+
publishSigned := (publishSigned dependsOn compile).value
5+
16
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; test")
27
addCommandAlias("ci-docs", "github; project-docs/mdoc; headerCreateAll")
38

project/plugins.sbt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
resolvers += Resolver.sonatypeRepo("snapshots")
2-
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.0-SNAPSHOT")
1+
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.0")
32
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3")
43
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5")
54
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")

0 commit comments

Comments
 (0)