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. 10
      rel/commands/clear_build.sh

@ -5,6 +5,7 @@
### Fixes ### Fixes
### Chore ### 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.0.2-beta

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

Loading…
Cancel
Save