Skip to content

An sbt cookbook that downloads directly from the official repo.

License

Notifications You must be signed in to change notification settings

Vibhuti/chef-sbt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An sbt cookbook that downloads directly from the official repo.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 97.8%
  • HTML 2.2%