From 23d0e4cff4f2ae7ba66d0c782cc5665828b93912 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Thu, 17 Jun 2021 15:10:14 +0300 Subject: [PATCH] Remove clear_build.sh script since it is dangerous --- CHANGELOG.md | 1 + rel/commands/clear_build.sh | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100755 rel/commands/clear_build.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c79ecf6ad..695aeb75c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - [#3888](https://github.com/blockscout/blockscout/pull/3888) - EIP-1967 contract proxy pattern detection fix ### Chore +- [#4300](https://github.com/blockscout/blockscout/pull/4300) - Remove clear_build.sh script - [#4268](https://github.com/blockscout/blockscout/pull/4268) - Migration to Chart.js 3.0 - [#4253](https://github.com/blockscout/blockscout/pull/4253) - Elixir 1.11.4, npm audit fix - [#4231](https://github.com/blockscout/blockscout/pull/4231) - Transactions stats: get min/max blocks in one query diff --git a/rel/commands/clear_build.sh b/rel/commands/clear_build.sh deleted file mode 100755 index 7c79a85ec3..0000000000 --- a/rel/commands/clear_build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -rm -rf ./_build -rm -rf ./deps -logs=$(find . -not -path '*/\.*' -name "logs" -type d) -dev=$(find ${logs} -name "dev") -files_and_dirs_in_logs_dev=$(ls -d ${dev}/*) -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 '{}' + - -case "$1" in - -f) - rm -rf ./apps/block_scout_web/priv/static;; -esac