Skip to content

Commit

Permalink
Remove CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 14, 2020
1 parent 056ac56 commit 6948842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
10 changes: 1 addition & 9 deletions scripts/circleci/check_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
14 changes: 1 addition & 13 deletions scripts/circleci/check_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 6948842

Please sign in to comment.