Compare commits
No commits in common. "2d3d1f881e0195bf67fda79dfca735ae11ff683b" and "8690a026b1d34a0b78932ddd8829c8489d6c0d0c" have entirely different histories.
2d3d1f881e
...
8690a026b1
6
Makefile
6
Makefile
@ -7,12 +7,12 @@ build:
|
|||||||
# Clean
|
# Clean
|
||||||
####################################################
|
####################################################
|
||||||
clean:
|
clean:
|
||||||
rm -f $(shell go env GOPATH)/bin/versionedTerraform
|
rm -f ~/.local/bin/versionedTerraform
|
||||||
####################################################
|
####################################################
|
||||||
# Install
|
# Install
|
||||||
####################################################
|
####################################################
|
||||||
install:
|
install:
|
||||||
mv versionedTerraform $(shell go env GOPATH)/bin/
|
mv versionedTerraform ~/.local/bin/
|
||||||
####################################################
|
####################################################
|
||||||
# help feature
|
# help feature
|
||||||
####################################################
|
####################################################
|
||||||
@ -22,6 +22,6 @@ help:
|
|||||||
@echo 'Targets:'
|
@echo 'Targets:'
|
||||||
@echo ' build go build -o versionedTerraform ./cmd'
|
@echo ' build go build -o versionedTerraform ./cmd'
|
||||||
@echo ' clean removes installed versionedTerraform file'
|
@echo ' clean removes installed versionedTerraform file'
|
||||||
@echo ' install installs versionedTerraform to bin folder in GOPATH'
|
@echo ' install installs versionedTerraform to local user bin folder'
|
||||||
@echo ' all Nothing to do.'
|
@echo ' all Nothing to do.'
|
||||||
@echo ''
|
@echo ''
|
@ -5,7 +5,7 @@ A wrapper for terraform to detect the expected version of terraform,
|
|||||||
download, and execute that version
|
download, and execute that version
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- go
|
- go compiler (only tested on go1.17)
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
`make build install` for installation to local user<br>
|
`make build install` for installation to local user<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user