mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2026-10-24 06:02:18 +00:00
18 lines
354 B
Scala
18 lines
354 B
Scala
import sbt.Keys.*
|
|
import sbt.*
|
|
|
|
object ProjectPlugin extends AutoPlugin {
|
|
override def trigger = allRequirements
|
|
|
|
val autoImport = ThingsToImport
|
|
|
|
object ThingsToImport {
|
|
private def jarName(s: String) =
|
|
"firepower-" + s
|
|
|
|
def module(s: String): Project =
|
|
Project(s, file(jarName(s)))
|
|
.settings(name := jarName(s))
|
|
}
|
|
}
|