Skip to content

Commit 0213963

Browse files
committed
markit - add file types for terraform close #64
1 parent 3b1367c commit 0213963

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

markit

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
# markit 3.210.512 2019-05-21T13:32:34.729227-05:00 (CDT) https://github.com/BradleyA/markit uadmin six-rpi3b.cptx86.com 3.209-9-g3b1367c
3+
# markit - add file types for terraform close #64
24
# markit 3.204.486 2019-02-16T14:33:13.230013-06:00 (CST) https://github.com/BradleyA/markit uadmin six-rpi3b.cptx86.com 3.201-3-g6e0dc34
35
# markit from bitbucket includes github URL not Bitbucket URL on line 2 close #62
46
# markit 3.200.405 2019-02-09T20:47:52.382189-06:00 (CST) https://github.com/BradleyA/markit uadmin six-rpi3b.cptx86.com 3.199
@@ -13,7 +15,6 @@
1315
# production standard 4 update display_help LANGUAGE close #58
1416
# markit 3.139.295 2018-11-16T21:38:57.485521-06:00 (CST) https://github.com/BradleyA/markit uadmin one-rpi3b.cptx86.com 3.138
1517
# markit change log format and order close #49
16-
#
1718
### markit
1819
# Copyright (c) 2019 Bradley Allen
1920
# License is in the online DOCUMENTATION, DOCUMENTATION URL defined below.
@@ -52,8 +53,8 @@ echo -e "\nDESCRIPTION"
5253
echo "Markit is a simple bash script that adds Git verion control information to"
5354
echo "files while being pushed to GitHub, Bitbucket, or GitLab (Supported files:"
5455
echo "Shell(sh|bash|csh|tcsh|ksh), Go, Dockerfile, YAML, Makefile, Scala,"
55-
echo "Python, Java, PHP, C, C++, JavaScript, Perl, Ruby, PowerShell, Ri,"
56-
echo "C header, C++ header, HTML, Kotlin, Pascal, R, Rust, Text, XML . . . ."
56+
echo "Terraform, Python, Java, PHP, C, C++, JavaScript, Perl, Ruby, PowerShell,"
57+
echo " Ri, C header, C++ header, HTML, Kotlin, Pascal, R, Rust, Text, XML . . ."
5758
echo -e "\nMarkit supports Semantic Versioning (MAJOR.MINOR.PATCH) and alphanumeric"
5859
echo "versioning. Markit will display the current version before prompting you"
5960
echo "to enter the next version. Markit includes the number of commits with"
@@ -275,8 +276,8 @@ for FILE_NAME in ${FILE_LIST} ; do
275276
# Single-line comment character(s) matching file extension
276277
# ONLY SUPPORT single-line comments NOT multiple line block comment
277278
case ${FILE_EXTENSION} in
278-
sh|bash|csh|tcsh|ksh|pl|PL|psh|py|rb|ps1|msh|php|php3|php4|ph3|ph4|R|yml|yaml|mk|MK|txt)
279-
# shell(sh|bash|csh|tcsh|ksh) perl(pl|PL|psh) Python(py) ruby(rb) PowerShell(ps1|msh) PHP(php|php3|php4|ph3|ph4) R(R) YAML(yml|yaml) Makefile(mk|MK) text(txt)
279+
sh|bash|csh|tcsh|ksh|pl|PL|psh|py|rb|ps1|msh|php|php3|php4|ph3|ph4|R|yml|yaml|mk|MK|txt|tf|tfstate)
280+
# shell(sh|bash|csh|tcsh|ksh) perl(pl|PL|psh) Python(py) ruby(rb) PowerShell(ps1|msh) PHP(php|php3|php4|ph3|ph4) R(R) YAML(yml|yaml) Makefile(mk|MK) text(txt) Terraform(tf|tfstate)
280281
BEGIN_COMMENT_CHAR="# "
281282
END_COMMENT_CHAR=""
282283
;;

0 commit comments

Comments
 (0)