diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-07-09 08:10:20 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-07-22 19:49:52 +0100 |
commit | 52d7675ad9c73d50316cf6b4ebbce7abf3b14fcd (patch) | |
tree | 8167f2c9c6ef1e5bb95f1597e2b1e04be78c9581 /build.sc | |
parent | 8e1b19668bda442065ee7ec90ce541c6ca3c29bc (diff) | |
download | spacebeans-52d7675ad9c73d50316cf6b4ebbce7abf3b14fcd.tar.gz spacebeans-52d7675ad9c73d50316cf6b4ebbce7abf3b14fcd.zip |
Assembly filename
Diffstat (limited to 'build.sc')
-rw-r--r-- | build.sc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -44,6 +44,13 @@ object server extends ScalaModule with ScalafmtModule with BuildInfo { } def buildInfoPackageName = Some("net.usebox.gemini.server") + def assembly = T { + val version = VcsVersion.vcsState().format() + val spacePath = T.ctx.dest / (name + "-" + version + ".jar") + os.move(super.assembly().path, spacePath) + PathRef(spacePath) + } + object test extends Tests with ScalafmtModule { def ivyDeps = Agg(ivy"org.scalatest::scalatest:3.2.5") def testFrameworks = Seq("org.scalatest.tools.Framework") |