mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-06-19 12:29:34 +00:00
fork for cats 😺
This commit is contained in:
parent
532deb0f24
commit
6911677e0b
20
project/CatsEffectForkPlugin.scala
Normal file
20
project/CatsEffectForkPlugin.scala
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import sbt.*
|
||||||
|
import sbt.Keys.*
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Automatically enriches projects with the following settings (despite the word "override").
|
||||||
|
*/
|
||||||
|
object CatsEffectForkPlugin extends AutoPlugin {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thus plug-in will automatically be enabled; it has no requirements.
|
||||||
|
*/
|
||||||
|
override def trigger: PluginTrigger =
|
||||||
|
AllRequirements
|
||||||
|
|
||||||
|
// cats-effect prefers to run in its own main thread
|
||||||
|
// https://github.com/typelevel/cats-effect/pull/3774
|
||||||
|
override val buildSettings: Seq[Setting[_]] = Seq(
|
||||||
|
fork := true
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user