Skip to content

Commit

Permalink
Compile when Publish (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno committed Apr 27, 2020
1 parent 2961a50 commit a616696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build.sbt
@@ -1,3 +1,8 @@
import com.jsuereth.sbtpgp.PgpKeys.publishSigned

publishLocal := (publishLocal dependsOn compile).value
publishSigned := (publishSigned dependsOn compile).value

addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; test")
addCommandAlias("ci-docs", "github; project-docs/mdoc; headerCreateAll")

Expand Down
3 changes: 1 addition & 2 deletions project/plugins.sbt
@@ -1,5 +1,4 @@
resolvers += Resolver.sonatypeRepo("snapshots")
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.0-SNAPSHOT")
addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.0")
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.1.5")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")
Expand Down

0 comments on commit a616696

Please sign in to comment.