Add a dist/ script that detects files with no newline at the end.

XMLWordPrintableJSON

    • Storage - Ra 2022-05-16
    • 2

      WiredTiger has a suite of scripts in the dist/ directory of the codebase which validate our source files for common issue, e.g. spelling, line length etc.

      WiredTiger style maintains that a file must have a newline at the end of it. Currently we don't have a script that checks this. We should add one.

      Scope:

      • Add a script to dist/ that checks for files without newlines at the end. If there is another script that already does something similar consider adding this check to that script.
      • Add that script to s_all/.
      • Test that it works correctly.

            Assignee:
            Ruby Chen
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: