我正在尝试找出供 sbt 使用的 native 打包器插件。
除了 https://github.com/sbt/sbt-native-packager 中的资源/示例之外,还有什么好的资源/示例可供我引用吗?
是否有在 Build.scala 中使用它而不是 build.sbt 类型的示例?
最佳答案
sbt-native-packager 的 src/sbt-test 中有一组示例。但是,还有许多其他开源项目使用它:
<罢工> https://github.com/sbt/sbt-launcher-package/blob/full-packaging/project/packaging.scala#L6 罢工>
https://github.com/typesafehub/activator/blob/master/project/Packaging.scala#L18
<罢工> https://github.com/scala/scala-dist/blob/master/project/scalainstaller.scala#L12 罢工>
(发布自 sbt 的 google 群组)
关于scala - 使用 sbt-native-packager 的任何好例子,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19797021/