react-native/scripts
Héctor Ramos b181b7797f Check PATENTS does not creep into files
Summary:
Some files have crept into the repo with the old license header. These are usually from PRs that were opened prior to the re-licensing of the project.

Let the script run, prior to fixing the errant files. The script outputs the following:

```
PATENTS crept into some new files?
 --- /dev/fd/63	2018-03-01 01:42:48.250153746 +0000
+++ /dev/fd/62	2018-03-01 01:42:48.250153746 +0000
@@ -1 +1,9 @@
+Libraries/NativeAnimation/Nodes/RCTTrackingAnimatedNode.h
+Libraries/NativeAnimation/Nodes/RCTTrackingAnimatedNode.m
+ReactAndroid/src/main/java/com/facebook/react/animated/TrackingAnimatedNode.java
+ReactAndroid/src/main/java/com/facebook/react/views/text/CustomLetterSpacingSpan.java
+ReactCommon/yoga/yoga/YGLayout.cpp
+ReactCommon/yoga/yoga/YGLayout.h
+ReactCommon/yoga/yoga/YGStyle.cpp
+ReactCommon/yoga/yoga/YGStyle.h
 scripts/circleci/check_license.sh
Exited with code 1
```

Fix the headers in these files and run the script again. No output, exit code 0.
Closes https://github.com/facebook/react-native/pull/18143

Reviewed By: sophiebits

Differential Revision: D7119356

Pulled By: hramos

fbshipit-source-id: d238e4d4a3ae320a2c8e625c2fa29690057a4814
2018-03-01 08:22:05 -08:00
..
circleci Check PATENTS does not creep into files 2018-03-01 08:22:05 -08:00
versiontemplates Update license headers for MIT license 2018-02-16 18:31:53 -08:00
.packager.env Move YGStyle to seperate file and add constructors 2018-02-20 05:55:36 -08:00
android-e2e-test.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
bump-oss-version.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
circle-ci-android-setup.sh Migrate to Circle 2.0 2017-09-21 14:01:30 -07:00
ios-configure-glog.sh Removing test-driver symlink in ios third party install script 2017-06-21 07:45:37 -07:00
ios-install-third-party.sh Make ios-install-third-party.sh more robust 2017-09-28 13:03:26 -07:00
launchPackager.bat Update license headers for MIT license 2018-02-16 18:31:53 -08:00
launchPackager.command Update license headers for MIT license 2018-02-16 18:31:53 -08:00
objc-test-ios.sh Fix Travis podspec CI for Cxx bridge 2017-07-07 02:32:07 -07:00
objc-test-tvos.sh Fix Travis podspec CI for Cxx bridge 2017-07-07 02:32:07 -07:00
objc-test.sh Consolidate checkout and yarn steps 2018-02-08 15:20:09 -08:00
packager.sh Update license headers for MIT license 2018-02-16 18:31:53 -08:00
process-podspecs.sh GLog fix on case sensitive APFS macOS 2018-01-28 22:29:51 -08:00
publish-npm.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
react-native-xcode.sh Update license headers for MIT license 2018-02-16 18:31:53 -08:00
run-android-ci-instrumentation-tests.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
run-android-emulator.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-android-local-integration-tests.sh Skip flaky ScrollView tests 2017-03-13 13:30:31 -07:00
run-android-local-unit-tests.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-ci-e2e-tests.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
run-instrumentation-tests-via-adb-shell.sh Fix Android comment and docblock typos 2017-12-03 20:16:36 -08:00
sync-css-layout.sh Update to MIT license 2018-02-16 18:31:53 -08:00
test-manual-e2e.sh Move HelloWorld template to a single index.js entry point 2017-08-03 14:02:43 -07:00
try-n-times.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
validate-android-device-env.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-sdk.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-test-env.sh Add helpful examples to Android test env validation failure messages. 2017-10-12 15:33:04 -07:00