-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): repair pdk yarn invocations (#154)
In `build.sh`, the invocation to PDK had extra sets of tokens that were unneeded; I have removed those. In both `deployAll.sh` and `deployDev.sh`, `pdk` referred to a projen tasks (`workspace`, `run`) that didn't exist; I have reverted the PDK invocation to use `yarn` instead.
- Loading branch information
1 parent
8c41d6a
commit 120bf36
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ set -e | |
|
||
pdk install --frozen-lockfile | ||
pdk build | ||
pdk workspaces run eslint | ||
pdk eslint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
${SCRIPT_DIR}/build.sh | ||
|
||
pdk workspace @aws/threat-composer-infra run cdk deploy | ||
yarn workspace @aws/threat-composer-infra run cdk deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters