diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-03 13:17:31 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-03 13:17:31 -0600 |
| commit | 5225d5b50e4d2eb8a0b501adac7ffd6268412ac6 (patch) | |
| tree | 9a299c33321c79592ee82c4ee70fd68d9d419d04 /scripts/delete-elisp-compiled-files.sh | |
| parent | 3e84c7fc489c3f7e4af17fa8477e2807aa65deba (diff) | |
| download | dotemacs-5225d5b50e4d2eb8a0b501adac7ffd6268412ac6.tar.gz dotemacs-5225d5b50e4d2eb8a0b501adac7ffd6268412ac6.zip | |
feat: Add comprehensive Makefile for testing and validation
Add Makefile adapted from chime.el with targets for:
Testing:
- make test - Run all tests (unit + integration)
- make test-unit - Run unit tests only
- make test-integration - Run integration tests only
- make test-file FILE=<filename> - Run specific test file
- make test-name TEST=<pattern> - Run tests matching pattern
Validation:
- make validate-parens - Check for unbalanced parentheses
- make validate-modules - Load all modules to verify compilation
- make compile - Byte-compile all modules
- make lint - Run checkdoc, package-lint, elisp-lint
Utilities:
- make profile - Profile Emacs startup
- make clean - Remove test artifacts and compiled files
- make clean-compiled - Remove .elc/.eln files only
- make clean-tests - Remove test artifacts only
- make reset - Reset to first launch (destructive!)
Default target is 'make help' which displays all available targets.
Inline scripts from scripts/ directory:
- delete-elisp-compiled-files.sh → make clean-compiled
- profile-dotemacs.sh → make profile
- reset-to-first-launch.sh → make reset
Delete inlined scripts to reduce duplication.
Diffstat (limited to 'scripts/delete-elisp-compiled-files.sh')
| -rwxr-xr-x | scripts/delete-elisp-compiled-files.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/delete-elisp-compiled-files.sh b/scripts/delete-elisp-compiled-files.sh deleted file mode 100755 index 5976c92b6..000000000 --- a/scripts/delete-elisp-compiled-files.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -location=$HOME/.emacs.d/ - -echo "Deleting emacs lisp compiled files (.eln and .elc) from $location..." -find $location -type f \( -name "*.eln" -o -name "*.elc" \) -exec rm -f {} + -echo "Done." |
