scala-dist

打包Scala发行版的SBT项目。(SBT project that packages the Scala distribution)

  • Owner: scala/scala-dist
  • Platform: Windows
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

The Scala 2.13.x Distribution

This project morphs the "org.scala-lang" % "scala-dist" % $version maven artifact
into a Scala $version distribution (zip, tar.gz, deb, rpm, and msi).

To build a distribution, run:

  • universal:packageBin - Builds the universal zip installer
  • universal-docs:packageBin - Builds the universal documentation zip
  • debian:packageBin - Builds the Debian DEB file. requires dpkg-deb
  • rpm:packageBin - Builds the yum RPM file. requires rpmbuild
  • windows:packageBin - Builds the Windows MSI. requires WiX 3.6

Alternatively, the s3Upload task's mappings are configured based on the platform
the installer is running on. On Windows, it builds the MSI; on another platform,
it'll create and upload the other packages in the above list. (Use s3Upload::mappings for a dry-run.)

The version of Scala to package is derived from the most recent git tag,
or you can specify it using -Dproject.version.

This packager only works for Scala 2.11+ releases,
as earlier ones did not publish the scala-dist artifact to maven.

Due to limited resources, the native packages are quite rudimentary.
We welcome new maintainers!

Legacy

If you're looking for the editor configurations that used to be in the tool-support directory, please see https://github.com/scala/scala-tool-support.
They were moved out because they no longer ship with the Scala distribution. (New maintainers are welcome on the scala-tool-support project!)

Windows VM

  • install Windows 7 professional N 64-bit, ensure network access to GitHub
  • install Oracle Java 6 JDK
  • install WiX v3.6 (reboot!)
  • download sbt launcher from xsbt.org to c:\users\jenkins\Downloads
  • install Git
  • configure the Jenkins master's tool locations for
    • HOME
    • JDK path
    • Git (path of git.exe)
    • sbt launch jar

Contributing

Please read the Scala Pull Request Policy
and sign the CLA.

The branching structure mimics that of scala/scala:
branches for 2.11.x, 2.12.x, 2.13.x, etc.

Overview

Name With Ownerscala/scala-dist
Primary LanguageScala
Program languageScala (Language Count: 3)
PlatformWindows
License:Apache License 2.0
Release Count87
Last Release Namev2.13.14 (Posted on 2024-04-29 13:23:53)
First Release Namev2.9.2-RC2 (Posted on 2012-03-26 15:35:17)
Created At2011-03-13 23:08:55
Pushed At2024-04-29 20:56:45
Last Commit At
Stargazers Count275
Watchers Count48
Fork Count229
Commits Count1.9k
Has Issues Enabled
Issues Count35
Issue Open Count2
Pull Requests Count153
Pull Requests Open Count0
Pull Requests Close Count33
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top