Skip to content

Commit

Permalink
chore(turbo): added a Makefile command for clearing the turborepo loc…
Browse files Browse the repository at this point in the history
…al build cache (#6362)

Co-authored-by: Isaiah Hall <ishallh@amazon.com>
  • Loading branch information
isaiahshall and Isaiah Hall committed Aug 7, 2024
1 parent b86bc55 commit c094a1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ turbo-build:
tpk:
npx turbo run build --filter='./packages/*'

# Clears the Turborepo local build cache
turbo-clean:
@read -p "Are you sure you want to delete your local cache? [y/N]: " ans && [ $${ans:-N} = y ]
@echo "\nDeleted cache folders: \n--------"
@find . -name '.turbo' -type d -prune -print -exec rm -rf '{}' + && echo '\n'

server-protocols:
yarn generate-clients -s
yarn test:server-protocols

0 comments on commit c094a1c

Please sign in to comment.