Skip to content

Commit

Permalink
Add support for updating header in .sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak authored and ThiefMaster committed Oct 14, 2021
1 parent 6c31c1b commit 57245ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/maintenance/update_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
'scss': {
'regex': re.compile(r'/\*(.|[\r\n])*?\*/|((^//|[\r\n]//).*)*'),
'format': {'comment_start': '//', 'comment_middle': '//', 'comment_end': ''}},
'sh': {
'regex': re.compile(r'((^#|[\r\n]#).*)*'),
'format': {'comment_start': '#', 'comment_middle': '#', 'comment_end': ''}},
}


Expand Down

0 comments on commit 57245ca

Please sign in to comment.