|
1 | 1 | #!/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 |
2 | 4 | # 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 |
3 | 5 | # markit from bitbucket includes github URL not Bitbucket URL on line 2 close #62 |
4 | 6 | # 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 | 15 | # production standard 4 update display_help LANGUAGE close #58 |
14 | 16 | # 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 |
15 | 17 | # markit change log format and order close #49 |
16 | | -# |
17 | 18 | ### markit |
18 | 19 | # Copyright (c) 2019 Bradley Allen |
19 | 20 | # License is in the online DOCUMENTATION, DOCUMENTATION URL defined below. |
@@ -52,8 +53,8 @@ echo -e "\nDESCRIPTION" |
52 | 53 | echo "Markit is a simple bash script that adds Git verion control information to" |
53 | 54 | echo "files while being pushed to GitHub, Bitbucket, or GitLab (Supported files:" |
54 | 55 | 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 . . ." |
57 | 58 | echo -e "\nMarkit supports Semantic Versioning (MAJOR.MINOR.PATCH) and alphanumeric" |
58 | 59 | echo "versioning. Markit will display the current version before prompting you" |
59 | 60 | echo "to enter the next version. Markit includes the number of commits with" |
@@ -275,8 +276,8 @@ for FILE_NAME in ${FILE_LIST} ; do |
275 | 276 | # Single-line comment character(s) matching file extension |
276 | 277 | # ONLY SUPPORT single-line comments NOT multiple line block comment |
277 | 278 | 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) |
280 | 281 | BEGIN_COMMENT_CHAR="# " |
281 | 282 | END_COMMENT_CHAR="" |
282 | 283 | ;; |
|
0 commit comments