Skip to content

Commit 5dbc64f

Browse files
author
NIIMI Satoshi
committed
1.0.11.6: canonicalize whitespaces only on updated files
1 parent 18a22e9 commit 5dbc64f

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.cvsignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ customize-backend-subfeatures.lisp
55
customize-target-features.lisp
66
local-target-features.lisp-expr
77
TAGS
8+
whitespace-stamp
89
.svn
910
.gdbinit
1011
.hg

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ output
1010
obj
1111
local-target-features.lisp-expr
1212
customize-target-features.lisp
13+
whitespace-stamp
1314
src/assembly/target
1415
src/compiler/assembly
1516
src/compiler/target

tools-for-build/whitespacely-canonical-filenames

+11-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,22 @@ source_extensions='.lisp .lisp-expr .c .h'
1414
# .sh: if ./make.sh is altered, Bad Things happen
1515
# ?
1616

17+
stamp_file=whitespace-stamp
18+
19+
if [ -e $stamp_file ]; then
20+
find_opt="-newer $stamp_file"
21+
else
22+
find_opt=""
23+
fi
24+
1725
for source_extension in $source_extensions; do
1826
find . \( \
1927
-name _darcs -o \
2028
-name '{arch}' -o \
2129
-name CVS -o \
2230
-name .hg -o \
2331
-name .svn \) -type d -prune -o \
24-
-name '*'$source_extension -print
32+
$find_opt -name '*'$source_extension -print
2533
done
34+
35+
touch $stamp_file

version.lisp-expr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
;;; checkins which aren't released. (And occasionally for internal
1818
;;; versions, especially for internal versions off the main CVS
1919
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
20-
"1.0.11.5"
20+
"1.0.11.6"

0 commit comments

Comments
 (0)