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/10/09 00:19:24 UTC
git commit: [SPARK-3843][Minor] Cleanup scalastyle.txt at the end of
running dev/scalastyle
Repository: spark
Updated Branches:
refs/heads/master b92bd5a2f -> add174aa5
[SPARK-3843][Minor] Cleanup scalastyle.txt at the end of running dev/scalastyle
dev/scalastyle create a log file 'scalastyle.txt'. it is overwrote per running but never deleted even though dev/mima and dev/lint-python delete their log files.
Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Closes #2702 from sarutak/scalastyle-txt-cleanup and squashes the following commits:
d6e238e [Kousuke Saruta] Fixed dev/scalastyle to cleanup scalastyle.txt
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/add174aa
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/add174aa
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/add174aa
Branch: refs/heads/master
Commit: add174aa56d291bc48ef73a42c39428c923efe31
Parents: b92bd5a
Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Authored: Wed Oct 8 15:19:19 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Wed Oct 8 15:19:19 2014 -0700
----------------------------------------------------------------------
dev/scalastyle | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/add174aa/dev/scalastyle
----------------------------------------------------------------------
diff --git a/dev/scalastyle b/dev/scalastyle
index efb5f29..c3b356b 100755
--- a/dev/scalastyle
+++ b/dev/scalastyle
@@ -26,6 +26,8 @@ echo -e "q\n" | sbt/sbt -Pyarn -Phadoop-2.2 -Dhadoop.version=2.2.0 yarn/scalasty
>> scalastyle.txt
ERRORS=$(cat scalastyle.txt | grep -e "\<error\>")
+rm scalastyle.txt
+
if test ! -z "$ERRORS"; then
echo -e "Scalastyle checks failed at following occurrences:\n$ERRORS"
exit 1
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org