yamory for sbt.
This plugin requires bash
, and sbt 1.6+
plugins.sbt:
addSbtPlugin("io.github.kijuky" % "sbt-yamory" % version)
Set environment variable: PROJECT_GROUP_KEY
and YAMORY_API_KEY
.
build.sbt:
yamorySbtScriptUrl := "https://yamory/script/..."
and run
sbt yamory
then scan results are recorded in yamory.
You should set yamorySbtScriptUrl
. if it is empty, the yamory
task do nothing.
for Scala.js project
Since yamory supports the npm project, you can scan the node packages used by your scala.js project.
Set environment variable: PROJECT_GROUP_KEY
and YAMORY_API_KEY
.
build.sbt:
yamoryNpmScriptUrl := "https://yamory/script/..."
- Share
yamoryProjectGroupKey
andyamoryApiKey
. - If you are using scalajs-bundler
and you are using
npmDependencies
, you need to add the following settings:If you omit this setting,yamoryNpmManifest := "./target/scala-2.12/scalajs-bundler/main/package.json"
./package.json
will be referenced.
and run
sbt yamoryNpm
You should set yamoryNpmScriptUrl
. if it is empty, the yamoryNpm
task do nothing.
- For a multi-project build,
specify the project and execute:
sbt client/yamoryNpm
then scan results are recorded in yamory.
Run test
for regular unit tests.
Run scripted
for sbt script tests.
- push tag
vX.Y.Z