Skip to content

Commit

Permalink
Add some missing sets
Browse files Browse the repository at this point in the history
Some don't do anything now, but may in the future when things are added.
  • Loading branch information
dnephin committed Mar 31, 2022
1 parent 292472d commit 6e665a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-go-critic.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -eu -o pipefail

if ! command -v gocritic &> /dev/null ; then
echo "gocritic not installed or available in the PATH" >&2
echo "please check https://github.com/go-critic/go-critic" >&2
Expand Down
2 changes: 2 additions & 0 deletions run-go-cyclo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -eu -o pipefail

if ! command -v gocyclo &> /dev/null ; then
echo "gocyclo not installed or available in the PATH" >&2
echo "please check https://github.com/fzipp/gocyclo" >&2
Expand Down
2 changes: 2 additions & 0 deletions run-go-lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -eu -o pipefail

if ! command -v golint &> /dev/null ; then
echo "golint not installed or available in the PATH" >&2
echo "please check https://github.com/golang/lint" >&2
Expand Down
2 changes: 2 additions & 0 deletions run-golangci-lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env sh

set -eu -o pipefail

if ! command -v golangci-lint &> /dev/null ; then
echo "golangci-lint not installed or available in the PATH" >&2
echo "please check https://github.com/golangci/golangci-lint" >&2
Expand Down

0 comments on commit 6e665a2

Please sign in to comment.