blob: bfb68cbdcc444658a255092c739ee37014105f44 [file] [log] [blame]
#!/bin/bash
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# A wrapper around Verible format, used for CI.
set -e
util/verible-format.sh || {
echo -n "##vso[task.logissue type=error]"
echo "Verilog format with Verible failed. Run 'util/verible-format.sh' to check and fix all errors."
echo "This flow is currently experimental and failures can be ignored."
exit 1
}