mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #702 from svanharmelen/f-fix-makefile-for-go1.4
Update Makefile for use with Go 1.4
This commit is contained in:
commit
6fde788dec
6
Makefile
6
Makefile
@ -22,7 +22,11 @@ testrace: config/y.go
|
|||||||
TF_ACC= go test -race $(TEST) $(TESTARGS)
|
TF_ACC= go test -race $(TEST) $(TESTARGS)
|
||||||
|
|
||||||
updatedeps: config/y.go
|
updatedeps: config/y.go
|
||||||
go get -u -v ./...
|
@if [ $(shell go version | cut -f3 -d" " | cut -f2 -d.) -lt 4 ]; then \
|
||||||
|
go get -u -v ./...; \
|
||||||
|
else \
|
||||||
|
go get -f -u -v ./...; \
|
||||||
|
fi
|
||||||
|
|
||||||
config/y.go: config/expr.y
|
config/y.go: config/expr.y
|
||||||
cd config/ && \
|
cd config/ && \
|
||||||
|
Loading…
Reference in New Issue
Block a user