Skip to content

Commit

Permalink
add build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Nov 8, 2018
1 parent b55891c commit aa84a57
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

{
mv go.mod1 go.mod
mv go.sum1 go.sum
GO111MODULE=on go test ./...
} || {
mv go.mod go.mod1
mv go.sum go.sum1
}

mv go.mod go.mod1
mv go.sum go.sum1

0 comments on commit aa84a57

Please sign in to comment.