blob: a6108fad339581ebe57c415493f21fee91e96a77 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
bin/cbuildbot_view_config -d --pretty > cbuildbot/config_dump.json
if [ "$(git diff cbuildbot/config_dump.json)" ]; then
echo "You have uncommitted changes to cbuildbot/config_dump.json"
echo "This is likely because you have modified cbuildbot/"
echo "Please --amend your commit to include config_dump.json."
echo "In future, you can update the dump file with the command"
echo "bin/cbuildbot_view_config -d --pretty > cbuildbot/config_dump.json"
exit 1