Skip to content
Snippets Groups Projects

style changes and adds task to check file md5

Merged Ruben Vorderman requested to merge BIOWDL-40 into develop
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
+ 12
0
@@ -16,6 +16,18 @@ task AppendToStringArray {
}
}
# This task will fail if the MD5sum doesn't match the file.
task CheckFileMD5 {
File file
String MD5sum
command {
set -e -o pipefail
MD5SUM=$(md5sum ${file} | cut -d ' ' -f 1)
[ $MD5SUM = ${MD5sum} ]
}
}
task ConcatenateTextFiles {
Array[File] fileList
String combinedFilePath
Loading