Remove all logs/dev and all node_modules folders

pull/2450/head
Victor Baranov 5 years ago
parent 6f6bdd52cc
commit a7e87390bb
  1. 1
      CHANGELOG.md
  2. 8
      rel/commands/clear_build.sh

@ -5,6 +5,7 @@
### Fixes
### Chore
- [#2450](https://github.com/poanetwork/blockscout/pull/2450) - Fix clearance of logs and node_modules folders in clearing script
## 2.0.2-beta

@ -2,9 +2,11 @@
rm -rf ./_build
rm -rf ./deps
rm -rf ./logs/dev
rm -rf ./apps/explorer/node_modules
rm -rf ./apps/block_scout_web/assets/node_modules
logs=$(find . -not -path '*/\.*' -name "logs" -type d)
dev=$(find ${logs} -name "dev")
rm -rf {ls -la ${dev}}
find . -name "node_modules" -type d -exec rm -rf '{}' +
case "$1" in
-f)

Loading…
Cancel
Save