From 643c506b400fae644129dae6989f2eb6c7d06152 Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Tue, 12 May 2015 16:10:27 +0200 Subject: [PATCH] =pro The `test` task is now NOT overwritten by PR validator --- project/ValidatePullRequest.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/project/ValidatePullRequest.scala b/project/ValidatePullRequest.scala index 32c66c9ba8..cf56fa0e1a 100644 --- a/project/ValidatePullRequest.scala +++ b/project/ValidatePullRequest.scala @@ -15,6 +15,10 @@ import scala.util.matching.Regex object ValidatePullRequest extends AutoPlugin { + override def trigger = allRequirements + + override def requires = plugins.JvmPlugin + sealed trait BuildMode { val Zero = Def.task { () } // when you stare into the void, the void stares back at you def task: Def.Initialize[Task[Unit]] @@ -74,8 +78,6 @@ object ValidatePullRequest extends AutoPlugin { // running validation val validatePullRequest = taskKey[Unit]("Additional tasks for pull request validation") - override def trigger = allRequirements - def changedDirectoryIsDependency(changedDirs: Set[String], target: File, scalaBinaryVersion: String, version: String,