<commit_before>enablePlugins(JavaServerAppPackaging, DebianPlugin, JDebPackaging, SystemdPlugin)

maintainer := "<NAME> <<EMAIL>>"

packageSummary := "temperature-machine"

packageDescription := """Homebrew temperature data logger based on the DS18B20 sensor."""

debianPackageDependencies in Debian ++= Seq("java8-runtime | oracle-java8-jdk")


// don't package JavaDoc or source
mappings in (Compile, packageDoc) := Seq()
mappings in (Compile, packageSrc) := Seq()

// todo add a mapping from /var/log/temperature-machine/xxx.log to symlink /home/pi/.temperature/temperature-machine.log

daemonUser in Linux := "pi"

linuxPackageMappings := {
  val mappings = linuxPackageMappings.value
  mappings map { mapping =>
    val filtered = mapping.mappings filter {
      case (file, _) => !(file.getName == "temperature-machine.1.md")
      case _         => true
    }
    mapping.copy(mappings = filtered)
  } filter {
    _.mappings.nonEmpty
  }<commit_msg>better output when running `apt-cache search temperature-machine`<commit_after>enablePlugins(JavaServerAppPackaging, DebianPlugin, JDebPackaging, SystemdPlugin)

maintainer := "<NAME> <<EMAIL>>"

packageSummary := "temperature data logger based on the DS18B20 sensor"

packageDescription := """Homebrew temperature data logger based on the DS18B20 sensor."""

debianPackageDependencies in Debian ++= Seq("java8-runtime | oracle-java8-jdk")


// don't package JavaDoc or source
mappings in (Compile, packageDoc) := Seq()
mappings in (Compile, packageSrc) := Seq()

// todo add a mapping from /var/log/temperature-machine/xxx.log to symlink /home/pi/.temperature/temperature-machine.log

daemonUser in Linux := "pi"

linuxPackageMappings := {
  val mappings = linuxPackageMappings.value
  mappings map { mapping =>
    val filtered = mapping.mappings filter {
      case (file, _) => !(file.getName == "temperature-machine.1.md")
      case _         => true
    }
    mapping.copy(mappings = filtered)
  } filter {
    _.mappings.nonEmpty
  }
{'fraction_non_alphanumeric': 0.11961961961961962, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 4.246719160104987, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4755099', 'n_tokens_mistral': 624, 'n_tokens_neox': 583, 'n_words': 159}