mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-25 07:25:25 -04:00
275b4a7e0a
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.
9 lines
105 B
Bash
Executable File
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
|