An open API service indexing awesome lists of open source software.

https://github.com/stevehobbsdev/ssbt-script

A simple python script for running common sbt tasks
https://github.com/stevehobbsdev/ssbt-script

Last synced: 3 months ago
JSON representation

A simple python script for running common sbt tasks

Awesome Lists containing this project

README

          

# Steve's SBT wrapper

A python script that wraps some commands from SBT to make them a bit easier.

## Install

It is assumed your system has python available on the command line.

First (if you haven't done so) install PIP: `curl https://bootstrap.pypa.io/get-pip.py | python`

Then download and set up this repository:

```
$ git clone git@github.com:elkdanger/ssbt
$ cd ssbt
$ pip install -r requirements.txt
$ chmod +x ssbt
```

To make the tool easier to use from anywhere, link the app to a local folder available on your path:

```
$ ln -s $(pwd)/ssbt /usr/local/bin
```

## Available commands

Run tests through SBT: `$ ssbt test`

Run with coverage: `$ ssbt test -c`

Run and set memory (in Megabytes): `$ ssbt test -m 3072`

Runs only the specified tests: `$ ssbt test-only specs.MyControllerSpec`