Skip to content

Commit

Permalink
chore: create smithy link/unlink in Makefile (#5535)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Dec 1, 2023
1 parent 484d1ec commit 668c35b
Showing 1 changed file with 7 additions and 8 deletions.
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

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

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

0 comments on commit 668c35b

Please sign in to comment.