Add stub run to gunzip module (#1849)

This commit is contained in:
Jose Espinosa-Carrasco 2022-07-04 17:33:55 +02:00 committed by GitHub
parent 92c420e7d0
commit fa37e06626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,4 +31,14 @@ process GUNZIP {
gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//')
END_VERSIONS
"""
stub:
gunzip = archive.toString() - '.gz'
"""
touch $gunzip
cat <<-END_VERSIONS > versions.yml
"${task.process}":
gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//')
END_VERSIONS
"""
}