GithubHelp home page GithubHelp logo

osamu / chef-sbt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farmdawgnation/chef-sbt

0.0 2.0 0.0 90 KB

An sbt cookbook that downloads directly from the official repo.

License: Apache License 2.0

chef-sbt's Introduction

About

This project, chef-sbt, is a Chef Cookbook for SBT that downloads the sbt-launch.jar file directly from scala-sbt.org, and configures it in your path manually. This tends to be preferable if you, like me, have come to grow impatient with waiting for package managers to update their versions or would prefer to manually control when your boxes move to a different version.

I've only enumerated support for Ubuntu and Debian in this cookbook, but it may work elsewhere as well. Haven't done a lot of testing yet.

Attributes

The chef-sbt cookbook recognizes the following attributes.

  • node['sbt']['version'] - The version of the sbt launcher you would like to use. Currently, this defaults to 0.12.4, the latest stable, but can be any version available in the typesafe download repo.
  • node['sbt']['java_options'] - The JVM flags that should be passed to the JVM when sbt starts. Currently, this is defaulted to -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512M, and that works well for me... but YMMV.

Recipes

  • default - This recipe will download the sbt-launch.jar of the version you specify to /usr/local/bin, create an executable script sbt in that same folder, set permissions on them, and make them owned by root.

License / Contributions

This project is licensed under the Apache License 2.0. For details, see the LICENSE file at the top of this repository. If you discover issues, I encourage you to open tickets on the GitHub issue tracker. Contributations are welcome from all, but please adhere to code style and open a ticket before proceeding with your work.

About the Author

My name is Matt Farmer. I'm a code bandit currently slinging code on behalf of Elemica, Anchor Tab, the Lift Framework, and a few other small outfits who are out to make the world a better place. I tweet regularly, and blog and little bit less so.

chef-sbt's People

Contributors

farmdawgnation avatar

Watchers

Osamu Matsumoto avatar James Cloos 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.