blob: 983485ba4292f4b555370362711c9c9dce67ab6e [file] [log] [blame] [edit]
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
set -e # Fail on first failure
# The Docker image should have set these.
[ -x $CLANG_FORMAT ]
[ -x $GOFMT ]
# Run presubmit tests
cd "$SCRIPT_DIR/../../.."
./tests/presubmit.sh