Skip to content

Commit

Permalink
Fix generation-test
Browse files Browse the repository at this point in the history
  • Loading branch information
shimastripe committed Nov 13, 2021
1 parent 875b7dd commit 156b51b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ _testmain.go
bindata.go

/_example/_example
/_example/go.mod
/_example/go.sum
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ require (
github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/gomega v1.17.0 // indirect
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
)
3 changes: 2 additions & 1 deletion script/generation_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ if [[ ! $(git status . | grep 'nothing to commit') ]]; then
fi

echo "===> Building API server..."
go get ./...
go mod init
go mod tidy
go build

if [[ $? -gt 0 ]]; then
Expand Down

0 comments on commit 156b51b

Please sign in to comment.