Repository: spark Updated Branches: refs/heads/branch-1.0 c744d6630 -> 4479ecd08
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/4479ecd0 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4479ecd0 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4479ecd0 Branch: refs/heads/branch-1.0 Commit: 4479ecd0837a0d28bc83a40dc8c332ddd1f8dff1 Parents: c744d66 Author: Patrick Wendell <[email protected]> Authored: Wed Apr 16 09:43:17 2014 -0700 Committer: Patrick Wendell <[email protected]> Committed: Wed Apr 16 09:43:53 2014 -0700 ---------------------------------------------------------------------- dev/scalastyle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/4479ecd0/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"
