Fixed make install command #4
6
Makefile
6
Makefile
@ -7,12 +7,12 @@ build:
|
||||
# Clean
|
||||
####################################################
|
||||
clean:
|
||||
rm -f ~/.local/bin/versionedTerraform
|
||||
rm -f $(shell go env GOPATH)/bin/versionedTerraform
|
||||
####################################################
|
||||
# Install
|
||||
####################################################
|
||||
install:
|
||||
mv versionedTerraform ~/.local/bin/
|
||||
mv versionedTerraform $(shell go env GOPATH)/bin/
|
||||
####################################################
|
||||
# help feature
|
||||
####################################################
|
||||
@ -22,6 +22,6 @@ help:
|
||||
@echo 'Targets:'
|
||||
@echo ' build go build -o versionedTerraform ./cmd'
|
||||
@echo ' clean removes installed versionedTerraform file'
|
||||
@echo ' install installs versionedTerraform to local user bin folder'
|
||||
@echo ' install installs versionedTerraform to bin folder in GOPATH'
|
||||
@echo ' all Nothing to do.'
|
||||
@echo ''
|
Loading…
Reference in New Issue
Block a user