build: Write a modified.json

This ensures we don't trigger smoketest/etc. if the trees haven't
changed.
This commit is contained in:
Colin Walters 2014-01-26 05:02:01 -05:00
parent 8fa595cca7
commit 1fac73c484

View File

@ -151,5 +151,8 @@ const TaskBuild = new Lang.Class({
print("Successful: " + successful.join(' '));
print("Failed: " + failed.join(' '));
print("Unchanged: " + unchanged.join(' '));
let modifiedPath = Gio.File.new_for_path('modified.json');
JsonUtil.writeJsonFileAtomic(modifiedPath, { modified: successful.length > 0 }, cancellable);
}
});