Mercurial > hg > graal-jvmci-8
comparison mx/mx_graal_makefile.py @ 21957:555f788b964b
show diff if jvmci.make generation modifies an existing file
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 13 Jun 2015 00:25:30 +0200 |
parents | 3ce35131bff2 |
children | eef888fdb8b1 |
comparison
equal
deleted
inserted
replaced
21956:35affb9c707a | 21957:555f788b964b |
---|---|
59 if do_build_makefile(mf, opts.selectedDists, commandline): | 59 if do_build_makefile(mf, opts.selectedDists, commandline): |
60 contents = mf.generate() | 60 contents = mf.generate() |
61 if opts.output == None: | 61 if opts.output == None: |
62 print contents | 62 print contents |
63 else: | 63 else: |
64 if mx.update_file(opts.output, contents): | 64 if mx.update_file(opts.output, contents, showDiff=True): |
65 return 1 | 65 return 1 |
66 return 0 | 66 return 0 |
67 | 67 |
68 def short_dist_name(name): | 68 def short_dist_name(name): |
69 return name.replace("COM_ORACLE_", "") | 69 return name.replace("COM_ORACLE_", "") |