Itms
7e0d19cd7a
This new script and the associated configuration files lint our source code (JS and C++). This will be extended in the future, refs #4833. Reviewed By: Imarok Differential Revision: https://code.wildfiregames.com/D213 This was SVN commit r20364.
13 lines
315 B
Bash
Executable File
13 lines
315 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Lint errors should not count as build failures
|
|
set +e
|
|
set -v
|
|
|
|
# Move to the root of the repository (this script is in build/jenkins/)
|
|
cd "$(dirname $0)"/../../
|
|
|
|
arc patch --diff "$DIFF_ID" --force
|
|
|
|
svn st | grep '^[AM]' | cut -c 9- | xargs coala --ci --flush-cache --limit-files > .phabricator-comment
|