Clean up a few more potential leftover files in chia-blockchain-gui (#8230)

* Clean up a few more potential leftover files in chia-blockchain-gui

* Make shellcheck happy
This commit is contained in:
Chris Marslender 2021-08-26 20:22:05 -07:00 committed by GitHub
parent 4f8ab5a92b
commit 86fbcf8249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Cleans up files/directories that may be left over from previous runs for a clean slate before starting a new build
PWD=$(pwd)
rm -rf ../venv || true
rm -rf venv || true
rm -rf chia_blockchain.egg-info || true
@ -10,6 +12,9 @@ rm -rf build_scripts/pyinstaller || true
rm -rf chia-blockchain-gui/build || true
rm -rf chia-blockchain-gui/daemon || true
rm -rf chia-blockchain-gui/node_modules || true
rm chia-blockchain-gui/temp.json || true
( cd "$PWD/chia-blockchain-gui" && git checkout HEAD -- package-lock.json ) || true
cd "$PWD" || true
# Do our best to get rid of any globally installed notarize-cli versions so the version in the current build script is
# installed without conflicting with the other version that might be installed