symphony-org / frost

Frost
BSD 3-Clause "New" or "Revised" License
19 stars 5 forks source link

Plugin: sbt plugin #17

Open EncodePanda opened 5 years ago

EncodePanda commented 5 years ago

Suggest plugin name

sbt

Overview

Plugin that allows calling sbt. The output of sbt is put between code blocks. If sbt is not available or it's not called in the sbt project, error is returned.

Example usage

Input

# Hello
```frost:sbt
compile

## Output

# Hello

[info] Loading settings for project rchain-build from plugins.sbt ... [info] Loading project definition from /Users/rabbit/projects/foo/project [info] Loading settings for project foo from build.sbt ... [info] Resolving key references (13732 settings) ... [info] Set current project to foo (in build file:/Users/rabbit/projects/foo/) [info] Executing in batch mode. For better performance use sbt's shell [success] Total time: 4 s, completed Aug 5, 2019 7:28:28 PM