/sbt-in-action-examples

Source code examples for the book "sbt in Action"

Primary LanguageScala

sbt in Action Example code

This project contains the example code for sbt in Action. The code takes the form of a series of sbt builds for a sophisticated website called preowned-kittens.com that handles the resale of pet kittens. The website attempts to find ideal owners by matching buyer survey questions to known statistics of happy pet owners, and behavior characteristics of the kittens.

The project is split into directories by chapter, and then optionally by section. The final build is located under a directory called final for those who wish to see/use the completed product.

While the website and analysis code itself is rather simplistic and silly, the sbt build should be self-explantory (to those who know sbt) and well documented.

If you're following along in the book, feel free to run your sbt directly against the chapter / section directory you're currently reading, and try things out.

MIT License

Copyright (c) 2012-2013 Josh Suereth, Matthew Farwell

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.