From 6948842cf80ce57007cfab1006ca8f9cf55798be Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 14 Oct 2020 19:36:13 +0100 Subject: [PATCH] Remove CI check --- scripts/circleci/check_license.sh | 10 +--------- scripts/circleci/check_modules.sh | 14 +------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/scripts/circleci/check_license.sh b/scripts/circleci/check_license.sh index 68b41d6ac441b..4aab08dfbe905 100755 --- a/scripts/circleci/check_license.sh +++ b/scripts/circleci/check_license.sh @@ -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. diff --git a/scripts/circleci/check_modules.sh b/scripts/circleci/check_modules.sh index b9ee63b6eea79..839671e62c551 100755 --- a/scripts/circleci/check_modules.sh +++ b/scripts/circleci/check_modules.sh @@ -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.