| 1 | #!/usr/bin/env bash |
| 2 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | # |
| 4 | # This source code is licensed under the MIT license found in the |
| 5 | # LICENSE file in the root directory of this source tree. |
| 6 | |
| 7 | set -eo pipefail |
| 8 | |
| 9 | HERE=$(pwd) |
| 10 | |
| 11 | cd ../../packages/react-compiler-runtime && yarn --silent link && cd "$HERE" |
| 12 | cd ../../packages/babel-plugin-react-compiler && yarn --silent link && cd "$HERE" |
| 13 | |
| 14 | yarn --silent link babel-plugin-react-compiler |
| 15 | yarn --silent link react-compiler-runtime |