Compare hps_0.h files

This commit is contained in:
Dan Hawkins 2019-02-13 19:17:49 +00:00
commit 06c096fc7c

View file

@ -1,7 +1,11 @@
def comparefiles(importedfile, currentfile) {
def comparefiles(importedfile, currentfile, boolean ignorewhitespace = true) {
if (isUnix()) {
def wsparameter = "-w"
if (!ignorewhitespace) {
wsparameter = ""
}
sh """
diff -c "${importedfile}" "${currentfile}"
diff -c ${wsparameter} "${importedfile}" "${currentfile}"
"""
}
else {