Skip to content

Commit f5edaeb

Browse files
authored
chore: update build command to use yarn (#1162)
1 parent 7905f91 commit f5edaeb

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ The developers actively use Linux for development, but macOS and the Windows Sub
7777

7878
```bash
7979
# From the root directory of this repository
80-
./build.sh
80+
yarn build
8181

82-
# Once you've run ./build.sh from the root directory at least once, then
82+
# Once you've run "yarn build" from the root directory at least once, then
8383
# you can do subsequent build & test iterations from the RFDK package directory to save time.
8484
cd packages/aws-rfdk
8585
yarn build+test
@@ -155,7 +155,7 @@ yarn clean
155155
./clean.sh
156156
157157
# Rebuild
158-
./build.sh
158+
yarn build
159159
```
160160
161161
If that does not work, then you might try the following nuclear option. **WARNING** -- this will

examples/deadline/All-In-AWS-Infrastructure-Basic/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ These instructions assume that your working directory is `examples/deadline/All-
2222
```bash
2323
# Navigate to the root directory of the RFDK repository
2424
pushd ../../../..
25-
./build.sh
25+
yarn build
2626
# Enter the Docker container to run the pack scripts
2727
./scripts/rfdk_build_environment.sh
2828
./pack.sh

examples/deadline/All-In-AWS-Infrastructure-Basic/ts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ These instructions assume that your working directory is `examples/deadline/All-
144144
```bash
145145
# Navigate to the root directory of the RFDK repository (assumes you started in the example's directory)
146146
pushd ../../../..
147-
./build.sh
147+
yarn build
148148
# Navigate back to the example directory
149149
popd
150150
# Run the example's build

examples/deadline/All-In-AWS-Infrastructure-SEP/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ These instructions assume that your working directory is `examples/deadline/All-
2424
```bash
2525
# Navigate to the root directory of the RFDK repository
2626
pushd ../../../..
27-
./build.sh
27+
yarn build
2828
# Enter the Docker container to run thepack scripts
2929
./scripts/rfdk_build_environment.sh
3030
./pack.sh

examples/deadline/All-In-AWS-Infrastructure-SEP/ts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ These instructions assume that your working directory is `examples/deadline/All-
4747
```bash
4848
# Navigate to the root directory of the RFDK repository (assumes you started in the example's directory)
4949
pushd ../../../..
50-
./build.sh
50+
yarn build
5151
# Navigate back to the example directory
5252
popd
5353
# Run the example's build

examples/deadline/EC2-Image-Builder/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ These instructions assume that your working directory is `examples/deadline/EC2-
2424
```bash
2525
# Navigate to the root directory of the RFDK repository
2626
pushd ../../../..
27-
./build.sh
27+
yarn build
2828
# Enter the Docker container to run the pack scripts
2929
./scripts/rfdk_build_environment.sh
3030
./pack.sh

examples/deadline/EC2-Image-Builder/ts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ These instructions assume that your working directory is `examples/deadline/EC2-
3333
```bash
3434
# Navigate to the root directory of the RFDK repository (assumes you started in the example's directory)
3535
pushd ../../../..
36-
./build.sh
36+
yarn build
3737
# Navigate back to the example directory
3838
popd
3939
# Run the example's build

examples/deadline/Local-Zone/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ These instructions assume that your working directory is `examples/deadline/Loca
2424
```bash
2525
# Navigate to the root directory of the RFDK repository
2626
pushd ../../../..
27-
./build.sh
27+
yarn build
2828
# Enter the Docker container to run the build and pack scripts
2929
./scripts/rfdk_build_environment.sh
3030
./pack.sh

examples/deadline/Local-Zone/ts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ These instructions assume that your working directory is `examples/deadline/Loca
5757
```bash
5858
# Navigate to the root directory of the RFDK repository (assumes you started in the example's directory)
5959
pushd ../../../..
60-
./build.sh
60+
yarn build
6161
# Navigate back to the example directory
6262
popd
6363
# Run the example's build

integ/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
To run all test suites:
44

5-
1. Build and install dependencies by running build.sh from the top-level RFDK directory
5+
1. Build and install dependencies by running `yarn build` from the top-level RFDK directory
66
1. Configure AWS credentials. There are a few options for this:
77
* Configure credentials [using environment variables](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html)
88
* Run the integration tests on an [EC2 Instance with an IAM role](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-iam.html)

scripts/prep_release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PULL_AL_FROM_ECR_ARGS=(
5353
/bin/bash ${SCRIPT_DIR}/pull_amazonlinux_from_ecr.sh "${PULL_AL_FROM_ECR_ARGS[@]}"
5454

5555
# Run integ tests
56-
/bin/bash ${ROOT_DIR}/build.sh
56+
(cd "${ROOT_DIR}" && yarn run build)
5757
pushd $TESTS_DIR
5858
yarn run e2e-automated
5959
popd

0 commit comments

Comments
 (0)