Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aivean committed Jul 18, 2015
1 parent 44b2104 commit 6a83bb2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Usage
* Checkout the project
* In project directory invoke `mvn clean package`.
In target directory `scala-to-java.jar` will be created
* Run application with `java -jar target/scala-to-java.jar`
* Run application with `java -jar target/scala-to-java.jar --slim`.
Optional `--slim` flag removes some boilerplate from the output
* Type any scala code, for example `println("hello, world")`
and finish with `END` character (`Ctrl-D`)

Download
---

Just in case you don't want to bother yourself with building
the project, I already [have built it for you](https://github.com/Aivean/scala-to-java/releases/download/1.0/scala-to-java.jar).
the project, I already [have built it for you](https://github.com/Aivean/scala-to-java/releases/download/v1.0.2/scala-to-java.jar).
Please note that *Java 8* is required to run this tool.


Source highlighting and more
Expand All @@ -33,7 +35,7 @@ process.

My setup:
```sh
alias scala-to-java='java -jar ~/.scala-to-java.jar | pv -W | pygmentize -f 256 -l java -O style=monokai'
alias scala-to-java='java -jar ~/.scala-to-java.jar --slim | pv -W | pygmentize -f 256 -l java -O style=monokai'
```
<img src="https://cloud.githubusercontent.com/assets/2865203/8760097/b4fe881a-2cbe-11e5-9321-305e16d8ee52.png"
width="400"/>
Expand Down

0 comments on commit 6a83bb2

Please sign in to comment.