Skip to content

Commit

Permalink
defer mv back process
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu committed Nov 8, 2018
1 parent 961ac6d commit afe7263
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ all: parser.go
test: parser.go
mv go.mod1 go.mod
mv go.sum1 go.sum
trap 'mv go.mod go.mod1;mv go.sum go.sum1' EXIT
GO111MODULE=on go test ./...
mv go.mod go.mod1
mv go.sum go.sum1

parser.go: parser.y
make parser
Expand Down

0 comments on commit afe7263

Please sign in to comment.