bcorrigan/Goat — pull request #88 by robotslave (2013-02-11 17:53:01+00:00)
Title: sbt

So, there's a lot of things moved around in the sbt branch.

Instructions on how to do sbt are in the README.md for the branch.

Goat now runs with "sbt run" instead of goat.sh.

Source file layout has changed. I'm not especially happy about sbt wanting to break things up according to source language instead of functionality, but when in Rome, eh. You'll find most of your code in src/main/

Several groups of files that can compile on their own outside of goat have been turned into subprojects; ones we've mostly written ourselves are in subprojects/, and ones we've swiped are in vendor/ (these have no maven or jar file available, and/or have been slightly altered)

Many dependencies are now managed, and this ought to be the preferred way of doing things: if a lib is in the maven-cloud somewhere, point to it in ./build.sbt. If it's not mavened but you've got a jar file, stick that in lib. If you've only got source, put it in vendor/ and tell sbt it is a subproject in project/Build.scala