Coder Social home page Coder Social logo

yixu34 / scala-dist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scala/scala-dist

0.0 1.0 0.0 34.54 MB

Additional code relevant to creating a scala distribution.

Scala 3.84% TeX 86.41% Emacs Lisp 6.81% Smalltalk 0.15% PHP 0.70% Scheme 0.64% Java 0.65% Vim Script 0.79%

scala-dist's Introduction

The Scala 2.11.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).

The following parts of this repo are not part of the distribution:

  • documentation/: the LaTeX version of the Scala Language Specification (we're moving to a Markdown-based spec);
  • tool-support/: a collection of editor configurations etc (looking for a maintainer/packager!);
  • bash-completion/: generates bash completions for the common scala commands (looking for a maintainer/packager!).

To build a distribution, run:

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

Alternatively, the s3-upload task's mapping 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 (starting with M8), as earlier ones did not publish the scala-dist artifact to maven.

Due to limited resources, the native packages are quite rudimental, and bash-completion/tool-support aren't packaged at all.

If you'd like to maintain any of these packages, please contact scala-internals, and we'll do our very best to support you!

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 0.13.1 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: master is the upcoming 2.11.0 release, and the 2.10.x branch is your target for 2.10.x features.

scala-dist's People

Contributors

albasile avatar jsuereth avatar viniciusmiana avatar adriaanm avatar hvesalai avatar paulp avatar som-snytt avatar soc avatar retronym avatar odersky avatar lrytz avatar yuchangyuan avatar kiritsuku avatar bradwright avatar liancheng avatar fdietze avatar snapcracklepopgone avatar gkossakowski avatar dcsobral avatar medovina avatar sayuan avatar gokcehan avatar folone avatar dsosby avatar anthonykirby avatar ymasory avatar vderyagin avatar tobym avatar gzm0 avatar purcell avatar

Watchers

 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.