Skip to content

Commit

Permalink
Chore(repo): Clean all generates auxiliary files
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Sep 9, 2024
1 parent 49f9d5c commit 9e959fc
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,19 @@ endif
## —— Miscellaneous 🛠️ ——————————————————————————————————————————————————————————————

clean: ## Clean output files
rm -rf {.nyc_output,coverage,dist,build,esm,cjs,umd,types}
find . -name '*.log' -print -delete
find . -path ./node_modules -prune -o -type d \( \
-name '.nyc_output' -o \
-name 'coverage' -o \
-name '.coverage' -o \
-name '.cache' -o \
-name '.nx' -o \
-name 'dist' -o \
-name 'build' -o \
-name 'esm' -o \
-name 'cjs' -o \
-name 'umd' -o \
-name 'playwright-report' -o \
-name 'test-results' -o \
-name '.next' \
\) -exec rm -rf {} +
find . -path ./node_modules -prune -o -name '*.log' -print -delete

0 comments on commit 9e959fc

Please sign in to comment.