Skip to content

Commit

Permalink
add prel. build settings to build deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed May 30, 2021
1 parent 56abade commit c8e9d6d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ val `vscode-dotty` = Build.`vscode-dotty`

inThisBuild(Build.thisBuildSettings)
inScope(Global)(Build.globalSettings)

//added to try native packaging: should probably go elsewhere (?)
//https://www.scala-sbt.org/sbt-native-packager/formats/debian.html#requirements
enablePlugins(JavaAppPackaging)
enablePlugins(DebianPlugin)
debianPackageDependencies := Seq("java8-runtime-headless")
maintainer := "[email protected]" // Who should be the person? must be a person?
packageSummary := "scala3" // should include the right version etc
packageDescription := """More information here: https://www.scala-lang.org/"""
5 changes: 5 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.0")

//to enable native packaging:
//https://github.com/sbt/sbt-native-packager
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.6")

0 comments on commit c8e9d6d

Please sign in to comment.