mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 16:08:51 +03:00
9c91f9ae5c
* Swap back to non-chia notarize-cli * Update node for mac to 14.x - newer syntax in PRs on notarize-cli require the new version * Have cleanup script get rid of our other global node packages so that 12->14 transition works
23 lines
956 B
Bash
23 lines
956 B
Bash
#!/bin/bash
|
|
# Cleans up files/directories that may be left over from previous runs for a clean slate before starting a new build
|
|
|
|
rm -rf ../venv || true
|
|
rm -rf venv || true
|
|
rm -rf chia_blockchain.egg-info || true
|
|
rm -rf build_scripts/final_installer || true
|
|
rm -rf build_scripts/dist || true
|
|
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
|
|
|
|
# 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
|
|
PATH=$(brew --prefix node@14)/bin:$PATH || true
|
|
export PATH
|
|
npm uninstall -g notarize-cli || true
|
|
npm uninstall -g @chia-network/notarize-cli || true
|
|
npm uninstall -g electron-installer-dmg || true
|
|
npm uninstall -g electron-packager || true
|
|
npm uninstall -g electron/electron-osx-sign || true
|