Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGEST] Introduce sbt #155

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use sbt native packager for debian build
  • Loading branch information
i10416 committed Sep 22, 2021
commit be9f04b8a2a4f6d10a397874a4e22d79c7ce15a9
11 changes: 2 additions & 9 deletions examples/metrics/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ maintainer := "john doe"
packageSummary := "example jwm application"
packageDescription := """example jwm application."""

enablePlugins(JavaAppPackaging, WindowsPlugin)
enablePlugins(JavaAppPackaging /*WindowsPlugin*/)

wixProductId := java.util.UUID.randomUUID().toString
wixProductUpgradeId := java.util.UUID.randomUUID().toString
Expand All @@ -42,14 +42,7 @@ lazy val packageApp = taskKey[Unit]("package application via jpackage")
packageApp := {
system match {
case OS.Linux =>
Pack.packageLinuxAppCmd(
name.value,
organization.value,
version.value,
None,
false,
baseDirectory.value
)
(Debian / packageBin).value
case OS.Mac => ???
case OS.Windows =>
Def.task {
Expand Down