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
- Host: GitHub
- URL: https://github.com/stevehobbsdev/ssbt-script
- Owner: stevehobbsdev
- Created: 2017-04-03T09:11:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-31T10:48:59.000Z (over 8 years ago)
- Last Synced: 2024-12-31T20:16:03.695Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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`