Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.85 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.85 KB

The Scala Distribution

This project contains all the bits of Scala that don't belong in trunk. This includes but is not limited to:

  • Additional Documentation
    • The Scala Specification
    • Scala by example
  • Example code
  • Native packages
    • msi
    • deb
    • rpm
  • Support for third-party tools
    • vi
    • gedit
    • more!

Contributing

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

The branching structure mimics that of scala/scala: master is the upcoming 2.11.0 release, and the 2.10.x branch is your target for 2.10.x features -- we'll keep merging into master as long as feasible.

Build Setup

This build requires a scala distrbution build from the scala/scala project. Here's how to obtain one and tell this build about it:

  • scala/scala must be in the user home directory
  • Please run ant dist-opt in in the scala/scala project.
  • zip the <scala/scala>/dist/latest directory into a file called scala-dist.zip
  • Copy scala-dist.zip into <scala/scala-dist>/target/tmp/scala-dist.zip
  • Start sbt in the <scala/scala-dist> directory.
  • Run one of the build commands.

Here's a few things to build:

  • examples/compile - Compiles the examples
  • scala-installer/windows:package-msi - Builds the windows MSI. Requires WIX 3.6 installed
  • scala-installer/debian:package-bin - Builds the debian DEB file. Requires dpkg-deb
  • scala-installer/rpm:package-bin - Builds the yum RPM file. requires rpm
  • scala-installer/universal:package-bin - Builds the universal zip installer
  • scala-installer/universal-docs:package-bin - Builds the universal documentation zip