Skip to content

Commit

Permalink
1.0.11.6: canonicalize whitespaces only on updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
NIIMI Satoshi committed Nov 4, 2007
1 parent 18a22e9 commit 5dbc64f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .cvsignore
Expand Up @@ -5,6 +5,7 @@ customize-backend-subfeatures.lisp
customize-target-features.lisp customize-target-features.lisp
local-target-features.lisp-expr local-target-features.lisp-expr
TAGS TAGS
whitespace-stamp
.svn .svn
.gdbinit .gdbinit
.hg .hg
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,6 +10,7 @@ output
obj obj
local-target-features.lisp-expr local-target-features.lisp-expr
customize-target-features.lisp customize-target-features.lisp
whitespace-stamp
src/assembly/target src/assembly/target
src/compiler/assembly src/compiler/assembly
src/compiler/target src/compiler/target
Expand Down
12 changes: 11 additions & 1 deletion tools-for-build/whitespacely-canonical-filenames
Expand Up @@ -14,12 +14,22 @@ source_extensions='.lisp .lisp-expr .c .h'
# .sh: if ./make.sh is altered, Bad Things happen # .sh: if ./make.sh is altered, Bad Things happen
# ? # ?


stamp_file=whitespace-stamp

if [ -e $stamp_file ]; then
find_opt="-newer $stamp_file"
else
find_opt=""
fi

for source_extension in $source_extensions; do for source_extension in $source_extensions; do
find . \( \ find . \( \
-name _darcs -o \ -name _darcs -o \
-name '{arch}' -o \ -name '{arch}' -o \
-name CVS -o \ -name CVS -o \
-name .hg -o \ -name .hg -o \
-name .svn \) -type d -prune -o \ -name .svn \) -type d -prune -o \
-name '*'$source_extension -print $find_opt -name '*'$source_extension -print
done done

touch $stamp_file
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal ;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS ;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"1.0.11.5" "1.0.11.6"

0 comments on commit 5dbc64f

Please sign in to comment.