|
223 | 223 | <filename>/\.groovy$/i</filename> |
224 | 224 | <filename>/\.gdsl$/i</filename> |
225 | 225 | <filename>/\.gradle$/i</filename> |
226 | | - <filename>/Jenkinsfile/i</filename> |
227 | 226 | <firstline>/^import/</firstline> |
228 | 227 | <firstline>/^#!groovy/</firstline> |
229 | 228 | <parameters> |
|
232 | 231 | <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error" /> |
233 | 232 | </parameters> |
234 | 233 | </prototype> |
| 234 | + <prototype name="jenkinsfile" group="scripts" description="Jenkinsfile"> |
| 235 | + <location link="scripts/jenkinsfile.hrc"/> |
| 236 | + <filename>/^Jenkins[Ff]ile\..+$/</filename> |
| 237 | + <filename>/^.+\.Jenkins[Ff]ile/</filename> |
| 238 | + <filename>/^Jenkins[Ff]ile$/</filename> |
| 239 | + <filename>/\.gdsl$/i</filename> |
| 240 | + <firstline weight='3'>/(^|\n)\s*pipeline\s+\{\s*$/</firstline> |
| 241 | + <firstline weight='3'>/(^|\n)\s*node\s+\{\s*$/</firstline> |
| 242 | + <firstline weight='3'>/(^|\n)\s*node\([^\)]\)\s+\{\s*$/</firstline> |
| 243 | + <firstline weight='3'>/(^|\n)\s*import\s+org\.jenkinsci\./</firstline> |
| 244 | + </prototype> |
235 | 245 |
|
236 | 246 | <prototype name="rust" group="main" description="Rust"> |
237 | 247 | <location link="base/rust.hrc" /> |
|
638 | 648 | <filename>/\.(text|md|markdown)$/i</filename> |
639 | 649 | </prototype> |
640 | 650 | &scripts-colorer-protos; |
641 | | - &scripts-far-protos; |
| 651 | + &scripts-far-protos; |
642 | 652 | <prototype name="makefile" group="scripts" description="makefile"> |
643 | 653 | <location link="scripts/makefile.hrc" /> |
644 | 654 | <filename>/(makefile | tools\.ini) | \.(mak|gmk|ds(p|w)|bp(k|r|g))$/ix</filename> |
645 | 655 | <filename weight='3'>/\.mk$/i</filename> |
646 | | - <!--firstline>/Microsoft Developer Studio Project File/i</firstline> |
647 | | - <firstline>/^\!if/i</firstline--> |
648 | 656 | <firstline>/makefile/s</firstline> |
649 | 657 | <parameters> |
650 | 658 | <param name="gnu" value="false" description="use GNU make only" /> |
|
824 | 832 |
|
825 | 833 | <!-- rare languages --> |
826 | 834 | &rare-j2ee-protos; |
827 | | - &rare-gen-protos; |
828 | | - &rare-scripts-protos; |
829 | | - &rare-qrm-protos; |
830 | | - &rare-ie-weidu-protos; |
| 835 | + &rare-gen-protos; |
| 836 | + &rare-scripts-protos; |
| 837 | + &rare-qrm-protos; |
| 838 | + &rare-ie-weidu-protos; |
831 | 839 | <prototype name="c1c" group="rare" description="1C"> |
832 | 840 | <location link="rare/1c.hrc" /> |
833 | 841 | <filename>/\.1c$/i</filename> |
|
850 | 858 | </prototype> |
851 | 859 |
|
852 | 860 | <!-- !! you may wish to swap next two types |
853 | | - because of collision with extensions --> |
| 861 | + because of collision with extensions --> |
854 | 862 | <prototype name="dssp" group="rare" description="Dssp"> |
855 | 863 | <location link="rare/dssp.hrc" /> |
856 | 864 | <filename>/\.dsp$/i</filename> |
|
1087 | 1095 | </prototype> |
1088 | 1096 |
|
1089 | 1097 | <prototype name="default" group="other" description="default type"> |
| 1098 | + <location link="base/default.hrc" /> |
1090 | 1099 | <filename weight='1'>//</filename> |
1091 | 1100 | <parameters> |
1092 | 1101 | <!-- firstline --> |
|
1095 | 1104 | </parameters> |
1096 | 1105 | </prototype> |
1097 | 1106 |
|
1098 | | - <type name="default"> |
1099 | | - <scheme name='default' /> |
1100 | | - </type> |
1101 | | - |
1102 | | - |
1103 | 1107 | <!-- packages --> |
1104 | 1108 |
|
1105 | 1109 | <package name="def" description="core definitions"> |
1106 | | - <location link="lib/default.hrc" /> |
| 1110 | + <location link="lib/def.hrc" /> |
1107 | 1111 | </package> |
1108 | 1112 | <package name="uri" description="URI (RFC 2396)"> |
1109 | 1113 | <location link="lib/uri.hrc" /> |
|
0 commit comments