Skip to content
Snippets Groups Projects
  1. May 31, 2021
    • Eoin Clerkin's avatar
      Short license declarations for .sh files · 6f6619b0
      Eoin Clerkin authored
      Inserts the declaration on the 1st or 2nd line of scripts.
      
      EMPTY LINE
      
      Short license declarations for .sh files
      
      Inserts the declaration on the 1st or 2nd line of scripts.
      
      EMPTY LINE
      
      Revert "Short license declarations for .sh files"
      
      This reverts commit d3dd8608.
      
      Uses SPDX identifier
      
      Modifies declaration to use SPDX license identifier syntax
      
      Corrects file
      
      Empty line before hashbang removed
      6f6619b0
  2. Feb 08, 2021
    • Administrator's avatar
      Check if the last line is terminated by a <newline> character · d3b39189
      Administrator authored
      According to the Posix standard a line of a text is defined as follows:
      
      3.206 Line
      A sequence of zero or more non- <newline> characters plus a terminating
      <newline> character.
      
      The test checks if this is valid for all newly added or changed text files.
      
      I stumbeled over the issue when adding a new header file the list of header
      files used to generate a ROOT dictionary.
      The previous last file of the list did not have a proper file ending and
      attaching the new header file results in a ROOT dictionary source code with
      the following line
      
      '#endif#ifdef'
      
      which could be properly parsed and compiled by the compiler but results in an
      error at run time when loading the library.
      
      To avoid such problems in future the test was added.
      d3b39189
  3. Jan 22, 2021
    • Administrator's avatar
      Add test to check the file format · 32557215
      Administrator authored
      Only files with unix style file endings should eneter the repository.
      Add a CI stage which fails if the file type of a changed file is dos.
      Add a script which executes the actaul test.
      32557215
Loading