mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 10:10:12 +00:00
15 lines
321 B
Scala
15 lines
321 B
Scala
|
import scala.sys.process.Process
|
||
|
import play.sbt.PlayRunHook
|
||
|
import sbt.File
|
||
|
|
||
|
object PreparePortalHook {
|
||
|
def apply(base: File): PlayRunHook = {
|
||
|
object GruntProcess extends PlayRunHook {
|
||
|
override def beforeStarted(): Unit = {
|
||
|
Process("./prepare-portal.sh", base).!
|
||
|
}
|
||
|
}
|
||
|
GruntProcess
|
||
|
}
|
||
|
}
|