Compare hps_0.h files
This commit is contained in:
parent
2013c582c7
commit
06c096fc7c
1 changed files with 6 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue