mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
* Deleted docs folder * Deleted www folder * Remove Netlify website build command * Removed refs to docs and www from ESlint config * Removed refs to www/docs from Flow config * Removed unnecessary .gitignore config * Updated license check to remove refs to docs * Removed gh-pages specific portions of Circle build scripts There may be more that we can remove (eg set_up_github_keys.sh) but I'm not positive * Removed docs specific license
14 lines
312 B
Bash
Executable File
14 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|