Skip to content

Commit

Permalink
Android CI: Fix up //packages/react-native-codegen:setup_cli src copy…
Browse files Browse the repository at this point in the history
… issue

Summary:
This fixed bad src copy for Buck-building: `//packages/react-native-codegen:setup_cli`. Using rsync -L will correctly copy file contents instead of preserving symlinks (which confused yarn).

Changelog: [Internal]

Reviewed By: hramos

Differential Revision: D24577333

fbshipit-source-id: 4f586ba95d2d95d6ce8e3389e355cfb1a9121745
  • Loading branch information
fkgozali authored and facebook-github-bot committed Oct 28, 2020
1 parent 1903f66 commit 3a41125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-codegen/DEFS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def rn_codegen_cli():
bash = r"""
set -euo pipefail
mkdir -p "$OUT"
cp -r "$SRCDIR/." "$OUT/"
rsync -rLptgoD "$SRCDIR/" "$OUT"
cd "$OUT"
yarn install 2> >(grep -v '^warning' 1>&2)
yarn run build
Expand Down

0 comments on commit 3a41125

Please sign in to comment.