Skip to content

Commit 1a556a8

Browse files
author
Adam Gleitman
committed
Add macOS tags
1 parent 06194dc commit 1a556a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-native/scripts/react-native-xcode.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -x
1313
DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH
1414

1515
# Enables iOS devices to get the IP address of the machine running Metro
16-
if [[ ! "$SKIP_BUNDLING_METRO_IP" && "$CONFIGURATION" = *Debug* && ! "$PLATFORM_NAME" == *simulator && ! "$PLATFORM_NAME" == macosx ]]; then
16+
if [[ ! "$SKIP_BUNDLING_METRO_IP" && "$CONFIGURATION" = *Debug* && ! "$PLATFORM_NAME" == *simulator && ! "$PLATFORM_NAME" == macosx ]]; then # [macOS]
1717
for num in 0 1 2 3 4 5 6 7 8; do
1818
IP=$(ipconfig getifaddr en${num})
1919
if [ ! -z "$IP" ]; then

packages/rn-tester/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
extraNodeModules: {
3232
'react-native': path.resolve(__dirname, '../react-native'),
3333
},
34-
platforms: ['ios', 'macos', 'android'],
34+
platforms: ['ios', 'macos', 'android'], // [macOS]
3535
},
3636
serializer: {
3737
getPolyfills,

0 commit comments

Comments
 (0)