mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-01 05:23:37 +00:00
Add support for Nextflow (#799)
* Add nextflow * Add nextflow test * Add nextflow test data
This commit is contained in:
parent
cd662e912b
commit
df545f5820
|
@ -868,6 +868,12 @@
|
|||
"quotes": [["\\\"", "\\\""], ["'", "'"]],
|
||||
"extensions": ["mustache"]
|
||||
},
|
||||
"Nextflow": {
|
||||
"line_comment": ["//"],
|
||||
"multi_line_comments": [["/*", "*/"]],
|
||||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["nextflow", "nf"]
|
||||
},
|
||||
"Nim": {
|
||||
"line_comment": ["#"],
|
||||
"quotes": [["\\\"", "\\\""], ["\\\"\\\"\\\"", "\\\"\\\"\\\""]],
|
||||
|
|
18
tests/data/nextflow.nf
Normal file
18
tests/data/nextflow.nf
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* 18 lines 10 code 5 comments 3 blanks */
|
||||
|
||||
/*
|
||||
Nextflow - hello
|
||||
*/
|
||||
|
||||
// comment
|
||||
cheers = Channel.from 'Bonjour', 'Ciao', 'Hello', 'Hola'
|
||||
|
||||
process sayHello {
|
||||
echo true
|
||||
input:
|
||||
val x from cheers
|
||||
script:
|
||||
"""
|
||||
echo '$x world!'
|
||||
"""
|
||||
}
|
Loading…
Reference in a new issue