You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/04/16 18:43:44 UTC

git commit: Minor addition to SPARK-1497

Repository: spark
Updated Branches:
  refs/heads/master 77f836799 -> 82349fbd2


Minor addition to SPARK-1497


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/82349fbd
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/82349fbd
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/82349fbd

Branch: refs/heads/master
Commit: 82349fbd2b90ce28cff54bc95753d84e34e4cab9
Parents: 77f8367
Author: Patrick Wendell <pw...@gmail.com>
Authored: Wed Apr 16 09:43:17 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Wed Apr 16 09:43:17 2014 -0700

----------------------------------------------------------------------
 dev/scalastyle | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/82349fbd/dev/scalastyle
----------------------------------------------------------------------
diff --git a/dev/scalastyle b/dev/scalastyle
index 7b572f6..a972811 100755
--- a/dev/scalastyle
+++ b/dev/scalastyle
@@ -17,11 +17,13 @@
 # limitations under the License.
 #
 
-echo -e "q\n" | sbt/sbt clean scalastyle > scalastyle.txt
+echo -e "q\n" | SPARK_HIVE=true sbt/sbt scalastyle > scalastyle.txt
 # Check style with YARN alpha built too
-SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt
+echo -e "q\n" | SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt
 # Check style with YARN built too
-SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt
+echo -e "q\n" | SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt yarn/scalastyle \
+  >> scalastyle.txt
+
 ERRORS=$(cat scalastyle.txt | grep -e "\<error\>")
 if test ! -z "$ERRORS"; then
     echo -e "Scalastyle checks failed at following occurrences:\n$ERRORS"