Files
third_party_rust_bindgen/ci/assert-no-diff.sh
T
Nick Fitzgerald 275b4a7e0a Assert that code is properly rustfmted in CI
This commit makes Travis CI reject code which has not been run through the
latest version of `rustfmt`.

Additionally, it refactors our CI testing out into a couple little scripts.
2017-02-03 11:23:40 -08:00

9 lines
105 B
Bash
Executable File

#!/usr/bin/env bash
set -xeu
cd "$(dirname "$0")/.."
git add -u
git diff @
git diff-index --quiet HEAD