Files
react/scripts/circleci/test_extract_errors.sh
Andrew Clark 9c8547cc9f Add script to print out a list of warnings
We'll use this in the GH sync script to track which warnings have
changed since the last sync
2017-03-02 11:37:01 -08:00

11 lines
209 B
Bash
Executable File

#!/bin/bash
set -e
./node_modules/.bin/gulp react:extract-errors
git checkout -- scripts/error-codes/codes.json
WARNINGS=$(node scripts/error-codes/print-warnings.js)
echo "$WARNINGS"
test ! -z "$WARNINGS"