Kaydet (Commit) efb63943 authored tarafından Colomban Wendling's avatar Colomban Wendling

Scintilla update script: only ask for checking when something changed

Only ask the user to check the SciLexer.h diff if the file actually
changed.
üst 264df2ec
......@@ -74,16 +74,20 @@ Don't forget to add new files to the build system.
EOF
fi
# summary
cat << EOF
Please check the diff and upgrade the style mappings in
src/highlightingmappings.h.
# check for possible changes to styles
if ! git diff --quiet scintilla/include/SciLexer.h; then
cat << EOF
Check the diff of scintilla/include/SciLexer.h to see whether and which
mapping to add or update (use git diff scintilla/include/SciLexer.h).
mapping to add or update in src/highlightingmappings.h
(use git diff scintilla/include/SciLexer.h).
Don't forget to also update the comment and string styles in
src/highlighting.c.
EOF
fi
# summary
cat << EOF
Finally, add or update the appropriate line in NEWS.
Don't forget to add or update the appropriate line in NEWS.
EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment