File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
77PROJECT_ROOT=" $( cd " $SCRIPT_DIR /.." && pwd) "
88
99# Files to compile (in dependency order)
10- FILES=(" netlinx-mode-font-lock.el" " netlinx-mode.el" )
10+ FILES=(" netlinx-mode-font-lock.el" " netlinx-mode-indent.el " " netlinx-mode-navigation.el " " netlinx-mode .el" )
1111
1212# Build absolute paths
1313ABSOLUTE_FILE_PATHS=()
@@ -19,6 +19,12 @@ echo "Project root: $PROJECT_ROOT"
1919echo " Files to compile: ${FILES[*]} "
2020echo " "
2121
22+ # Clean up old byte-compiled files
23+ if compgen -G " $PROJECT_ROOT /*.elc" > /dev/null; then
24+ echo " Cleaning up old byte-compiled files..."
25+ rm -f " $PROJECT_ROOT " /* .elc
26+ fi
27+
2228# Check if all files exist before attempting to compile
2329for file in " ${ABSOLUTE_FILE_PATHS[@]} " ; do
2430 if [ ! -f " $file " ]; then
You can’t perform that action at this time.
0 commit comments