Skip to content

Commit 85d56f1

Browse files
committed
Corrected the "check" target to not treat warnings as errors.
1 parent 890023e commit 85d56f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-overflow/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ all: check Overview.html
3232

3333
check: Overview.err
3434
@cat $<
35-
@grep -q '^No errors$$' $< # Force a non-zero exit code if errors
36-
35+
@if egrep -v '^(Warning:|\(Processed in .* seconds\)|No errors)' $<;\
36+
then false; else true; fi
3737

3838

3939
# A handy shortcut:

0 commit comments

Comments
 (0)