mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1dd464d84e
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49201 There are some leftover references to CircleCI in these scripts. Let's remove it. ## Changelog: [Internal] - Remove remaining CircleCI references from CI scripts Reviewed By: huntie Differential Revision: D69182535 fbshipit-source-id: 4e825b65b5f5ca6ce16f5c7ac2f79088cf2d1ace
26 lines
651 B
Bash
Executable File
26 lines
651 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
GITHUB_OWNER=-facebook
|
|
GITHUB_REPO=-react-native
|
|
export GITHUB_OWNER
|
|
export GITHUB_REPO
|
|
|
|
if [ -x "$(command -v shellcheck)" ]; then
|
|
IFS=$'\n'
|
|
|
|
find . \
|
|
-type f \
|
|
-not -path "*node_modules*" \
|
|
-not -path "*third-party*" \
|
|
-name '*.sh' \
|
|
-exec sh -c 'shellcheck "$1"' -- {} \;
|
|
|
|
else
|
|
echo 'shellcheck is not installed. See https://github.com/facebook/react-native/wiki/Development-Dependencies#shellcheck for instructions.'
|
|
exit 1
|
|
fi
|