bradleyscollins/try4j — pull request #2 by laughedelic (2014-12-03 01:26:56+00:00)
Title: Using sbt

I have created a basic sbt configuration for this project. I didn't touch sources, only moved examples to the tests folder, so that they are compiled together with tests, but are not included in the artifact.

Try to ([install](http://www.scala-sbt.org/download.html) and then) run sbt. You can
```
> compile
```

or run tests:

```
> test
[info] Passed: Total 48, Failed 0, Errors 0, Passed 48
```

or make a fat-jar:

```
> assembly
```

it will create `target/try4j-assembly-1.4.0.jar` containing all dependencies.

Ask me if you need any help with sbt. Maybe this [tutorial](http://xerial.org/blog/2014/03/24/sbt/) can be a good introduction.

I'm going to add some more things in this branch:
- [ ] [bintray-sbt](https://github.com/softprops/bintray-sbt) plugin for publishing to the [bintray](https://bintray.com/) repository if it's fine for you (then you should create an account there)
- [ ] [sbt-release](https://github.com/sbt/sbt-release) and [sbt-github-release](https://github.com/ohnosequences/sbt-github-release) for automated versioning and releasing