Remove CI check

This commit is contained in:
Dan Abramov
2020-10-14 19:36:13 +01:00
parent 056ac56b52
commit 6948842cf8
2 changed files with 2 additions and 22 deletions
+1 -9
View File
@@ -2,12 +2,4 @@
set -e
# Make sure we don't introduce accidental references to PATENTS.
EXPECTED='scripts/circleci/check_license.sh'
ACTUAL=$(git grep -l PATENTS)
if [ "$EXPECTED" != "$ACTUAL" ]; then
echo "PATENTS crept into some new files?"
diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
exit 1
fi
# This doesn't make sense on the old majors branch.
+1 -13
View File
@@ -2,16 +2,4 @@
set -e
# Make sure we don't introduce accidental @providesModule annotations.
EXPECTED='scripts/rollup/wrappers.js'
ACTUAL=$(git grep -l @providesModule -- './*.js' ':!scripts/rollup/shims/*.js')
# Colors
red=$'\e[1;31m'
end=$'\e[0m'
if [ "$EXPECTED" != "$ACTUAL" ]; then
printf "%s\n" "${red}ERROR: @providesModule crept into some new files?${end}"
diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
exit 1
fi
# This doesn't make sense for old builds.