Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: create smithy link/unlink in Makefile #5535

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ login:
sync:
make -f Makefile.private.mk sync

s3x:
cp ./workspace/s3/s3-express.json ./codegen/sdk-codegen/aws-models/s3.json
node ./scripts/cli-dispatcher/ s3 - gen
node ./scripts/cli-dispatcher/ s3 - build

s3:
git checkout origin/main ./codegen/sdk-codegen/aws-models/s3.json
git checkout origin/main ./clients/client-s3
link-smithy:
rm -rf ./node_modules/\@smithy
ln -s ../../smithy-typescript/packages/ ./node_modules/\@smithy
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ../../ is relative to the location of ./node_modules/\@smithy


unlink-smithy:
rm -rf ./node_modules/\@smithy
yarn

# Runs build for all packages using Turborepo
turbo-build:
Expand Down
Loading