Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/coursier/sbt-runner

Argument processor for sbt/launcher
https://github.com/coursier/sbt-runner

Last synced: about 2 months ago
JSON representation

Argument processor for sbt/launcher

Awesome Lists containing this project

README

        

# sbt-runner

*sbt-runner* is a tiny Java application, whose main class
- parses its arguments just like
[sbt-extras](https://github.com/paulp/sbt-extras) does, supporting a subset of the arguments
of sbt-extras, then
- loads and starts the main class of the [official sbt launcher](https://github.com/sbt/launcher) (sbt/launcher).

It's designed to be put in the class path alongside the JAR of [sbt/launcher](https://github.com/sbt/launcher).
It starts the main class of sbt/launcher put alongside it in the class path.

It can be used with the help of [coursier](https://get-coursier.io/docs/cli-overview) like
```text
$ cs launch io.get-coursier.sbt:sbt-runner:0.1.0 org.scala-sbt:sbt-launch:1.3.10 -- -Dfoo=bar test:compile
$ cs launch io.get-coursier.sbt:sbt-runner:0.1.0 org.scala-sbt:sbt-launch:1.3.10 -- -help
```
or via the [default app channel](https://github.com/coursier/apps), where it's named just `sbt`,
```text
$ cs launch sbt -- -Dfoo=bar test:compile
$ cs install sbt
$ sbt -help
```