Skip to content

add testing or at least a demo to this repo #8

Open
@SethTisue

Description

@SethTisue

there is advice on this in the “Compiler Plugins 101” slides, but it might as well be in this repo directly, too

@hrhino has suggested using this to test:

scalacOptions in Test ++= Seq(
  s"-Xplugin:${(packageBin in Compile).value}",
  s"-Jdummy=${System.currentTimeMillis()}",
)

the -Jdummy thing is an attempt to fool sbt into rebuilding when necessary; it's copied (perhaps cargo-culted) from scala-continuations; I should see whether it is necessary on modern sbt, whether it actually works, and whether there's a better, less kludgey way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions