mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:39:42 +00:00
feat: improve project clean module's common utility sourcing and bump version to 1.15.10
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
# Project Purge Module (mo purge)
|
# Project Purge Module (mo purge)
|
||||||
# Removes heavy project build artifacts and dependencies
|
# Removes heavy project build artifacts and dependencies
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
PROJECT_LIB_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
CORE_LIB_DIR="$(cd "$PROJECT_LIB_DIR/../core" && pwd)"
|
||||||
|
if ! command -v ensure_user_dir > /dev/null 2>&1; then
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
source "$CORE_LIB_DIR/common.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Targets to look for (heavy build artifacts)
|
# Targets to look for (heavy build artifacts)
|
||||||
readonly PURGE_TARGETS=(
|
readonly PURGE_TARGETS=(
|
||||||
"node_modules"
|
"node_modules"
|
||||||
|
|||||||
2
mole
2
mole
@@ -25,7 +25,7 @@ source "$SCRIPT_DIR/lib/core/common.sh"
|
|||||||
trap cleanup_temp_files EXIT INT TERM
|
trap cleanup_temp_files EXIT INT TERM
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
VERSION="1.15.9"
|
VERSION="1.15.10"
|
||||||
MOLE_TAGLINE="Deep clean and optimize your Mac."
|
MOLE_TAGLINE="Deep clean and optimize your Mac."
|
||||||
|
|
||||||
# Check TouchID configuration
|
# Check TouchID configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user