=pro The test task is now NOT overwritten by PR validator
This commit is contained in:
parent
e86dc06680
commit
643c506b40
1 changed files with 4 additions and 2 deletions
|
|
@ -15,6 +15,10 @@ import scala.util.matching.Regex
|
||||||
|
|
||||||
object ValidatePullRequest extends AutoPlugin {
|
object ValidatePullRequest extends AutoPlugin {
|
||||||
|
|
||||||
|
override def trigger = allRequirements
|
||||||
|
|
||||||
|
override def requires = plugins.JvmPlugin
|
||||||
|
|
||||||
sealed trait BuildMode {
|
sealed trait BuildMode {
|
||||||
val Zero = Def.task { () } // when you stare into the void, the void stares back at you
|
val Zero = Def.task { () } // when you stare into the void, the void stares back at you
|
||||||
def task: Def.Initialize[Task[Unit]]
|
def task: Def.Initialize[Task[Unit]]
|
||||||
|
|
@ -74,8 +78,6 @@ object ValidatePullRequest extends AutoPlugin {
|
||||||
// running validation
|
// running validation
|
||||||
val validatePullRequest = taskKey[Unit]("Additional tasks for pull request validation")
|
val validatePullRequest = taskKey[Unit]("Additional tasks for pull request validation")
|
||||||
|
|
||||||
override def trigger = allRequirements
|
|
||||||
|
|
||||||
def changedDirectoryIsDependency(changedDirs: Set[String],
|
def changedDirectoryIsDependency(changedDirs: Set[String],
|
||||||
target: File,
|
target: File,
|
||||||
scalaBinaryVersion: String, version: String,
|
scalaBinaryVersion: String, version: String,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue