Navigation Menu

Skip to content

mcpoet/scala-bootstrapper

 
 

Repository files navigation

This gem produces a skeleton finagled service directory to be used with the new SBT 0.11 and Scala 2.9.1


This creates a standard environment for your twitter-centric sbt/scala thrift service.

Building:

:$ rake build
:$ gem install pkg/scala-bootstrapper-*.gem

Usage:

:$ mkdir birdname
:$ cd birdname
:$ scala-bootstrapper birdname
:$ sbt update test

Tutorial:

:$ less TUTORIAL.md

Git support

You can track files generated by scala-bootstrapper in a Git branch, and later merge changes from the branch (e.g. to rename a project, or to upgrade to a newer version of scala-bootstrapper.

To get started:

:$ scala-bootstrapper --git foo

For a brand-new project (no .git directory) this will initialize a Git repo in the directory, generate files into the scala-bootstrapper branch, and merge the branch to master.

For an existing project, this will generate files into the scala-bootstrapper branch, and merge it to the current branch without actually taking the changes (just making scala-bootstrapper a parent of the current branch to anchor future merges). This is to avoid clobbering files if you had previously run scala-bootstrapper without the --git option (or created files some other way). If you want to merge the changes and manually resolve any conflicts, do

:$ git cherry-pick --no-commit scala-bootstrapper

Once the scala-bootstrapper branch is created, subsequent runs will generate files into the branch and merge it to the current branch; if there are conflicts you can resolve them in the usual way.

About

initial setup for a scala library or server, using sbt, modified for self project template, removing thrift, and scrooge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 58.2%
  • Shell 34.2%
  • Scala 7.6%