author Michael Comella <michael.l.comella@gmail.com>
Fri, 25 Mar 2016 09:52:15 -0700
changeset 328249 fe11700b6cdfdb0fca3a9b2a54bf6d339792df24
parent 322739 0a2dadeedd4f221d859bee69db3f83a48454c45c
child 330689 84ba3a5bc33cc4af94f5a46465a6f921d794041b
permissions -rw-r--r--
Bug 1258769 - Use soter to add checkstyle gradle task with simple checks. r=nalexander Run checkstyle via: ./mach gradle app:checkstyle This is intended to be added to automation in bug 1258787. Concerns with this patch: 1) I don't have a maven-metadata-local.xml. However, I didn't take the snapshotted version and [1] seems to indicate it's unnecessary for my particular build. For the addition of future checks, it's worth noting Google's config is available: https://github.com/checkstyle/checkstyle/blob/3e4367941c3e9680703e8ea8400abbd5dc78e1d9/src/main/resources/google_checks.xml And this version contains links with descriptions of each of the tasks: http://checkstyle.sourceforge.net/google_style.html [1]: https://maven.apache.org/ref/3.3.3/maven-repository-metadata/ MozReview-Commit-ID: ID3X9ZA27b0

# .hgignore - List of filenames hg should ignore

# Filenames that should be ignored wherever they appear

# Vim swap files.

# Emacs directory variable files.

# User files that may appear at the root

# Empty marker file that's generated when we check out NSS

# Build directories

# Build directories for js shell

# SpiderMonkey configury
# SpiderMonkey test result logs

# Java HTML5 parser classes

# SVN directories

# Ignore the files and directory that Eclipse IDE creates

# Ignore the files and directory that JetBrains IDEs create.

# Gradle cache.

# Local Gradle configuration properties.

# Python stuff installed at build time.

# Git repositories

# Ignore chrome.manifest files from the devtools loader

# git checkout of libstagefright

# Tag files generated by GNU Global

# Various items for Loop

# Git clone directory for updating web-platform-tests

# Android Gradle artifacts.

# XCode project cruft

# Ignore mozharness execution files

# Ignore tox generated dir

# Ignore node_modules from eslint-plugin-mozilla

# Ignore talos virtualenv and tp5n files.
# The tp5n set is supposed to be decompressed at
# testing/talos/talos/page_load_test/tp5n in order to run tests like tps
# locally. Similarly, running talos requires a Python package virtual
# environment. Both the virtual environment and tp5n files end up littering
# the status command, so we ignore them.