File: .travis.gofmt.sh

package info (click to toggle)
golang-testify 1.3.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 568 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rwxr-xr-x 105 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash

if [ -n "$(gofmt -l .)" ]; then
  echo "Go code is not formatted:"
  gofmt -d .
  exit 1
fi