Remove logs from test folder too inn the cleaning script

pull/2959/head
Victor Baranov 5 years ago
parent 4de3181dd5
commit 08a1ad9b9e
  1. 1
      CHANGELOG.md
  2. 8
      rel/commands/clear_build.sh

@ -25,6 +25,7 @@
- [2910](https://github.com/poanetwork/blockscout/pull/2910) - Reorganize queries and indexes for internal_transactions table - [2910](https://github.com/poanetwork/blockscout/pull/2910) - Reorganize queries and indexes for internal_transactions table
### Chore ### Chore
- [#2959](https://github.com/poanetwork/blockscout/pull/2959) - Remove logs from test folder too in the cleaning script
- [#2947](https://github.com/poanetwork/blockscout/pull/2947) - Upgrade Circle CI postgres Docker image - [#2947](https://github.com/poanetwork/blockscout/pull/2947) - Upgrade Circle CI postgres Docker image
- [#2946](https://github.com/poanetwork/blockscout/pull/2946) - Fix vulnerable NPM deps - [#2946](https://github.com/poanetwork/blockscout/pull/2946) - Fix vulnerable NPM deps
- [#2942](https://github.com/poanetwork/blockscout/pull/2942) - Actualize Docker setup - [#2942](https://github.com/poanetwork/blockscout/pull/2942) - Actualize Docker setup

@ -4,8 +4,12 @@ rm -rf ./_build
rm -rf ./deps rm -rf ./deps
logs=$(find . -not -path '*/\.*' -name "logs" -type d) logs=$(find . -not -path '*/\.*' -name "logs" -type d)
dev=$(find ${logs} -name "dev") dev=$(find ${logs} -name "dev")
files_and_dirs_in_logs=$(ls -d ${dev}/*) files_and_dirs_in_logs_dev=$(ls -d ${dev}/*)
rm -rf $files_and_dirs_in_logs rm -rf $files_and_dirs_in_logs_dev
test=$(find ${logs} -name "test")
files_and_dirs_in_logs_test=$(ls -d ${test}/*)
rm -rf $files_and_dirs_in_logs_test
find . -name "node_modules" -type d -exec rm -rf '{}' + find . -name "node_modules" -type d -exec rm -rf '{}' +

Loading…
Cancel
Save