Git Product home page Git Product logo

scala-dist's Introduction

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.

scala-dist's People

Contributors

adriaanm avatar albasile avatar bkanuka avatar bradwright avatar cameronnemo avatar dcsobral avatar fdietze avatar gkossakowski avatar hvesalai avatar ikwzm avatar jonshea avatar jsuereth avatar kiritsuku avatar larryv avatar liancheng avatar linkenneth avatar lrytz avatar medovina avatar muuki88 avatar odersky avatar paulp avatar raboof avatar retronym avatar sethtisue avatar snapcracklepopgone avatar soc avatar som-snytt avatar viniciusmiana avatar xuwei-k avatar yuchangyuan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.